Initial import
This commit is contained in:
10
app/views/news/_form.html.haml
Normal file
10
app/views/news/_form.html.haml
Normal file
@@ -0,0 +1,10 @@
|
||||
= error_messages_for 'news'
|
||||
|
||||
%dl
|
||||
%dt
|
||||
%label{:for => "news_title"} Título
|
||||
%dd= text_field 'news', 'title'
|
||||
|
||||
%dt
|
||||
%label{:for => "news_body"} Descrição
|
||||
%dd= preserve(text_area('news', 'body'))
|
||||
Reference in New Issue
Block a user