]> git.openstreetmap.org Git - rails.git/blob - app/views/diary_entry/new.rhtml
Tidy up some views.
[rails.git] / app / views / diary_entry / new.rhtml
1 <%= error_messages_for 'diary_entry' %>
2
3 <% form_tag :controller => 'diary_entry', :action => 'new' do %>
4 subject<%= text_field 'diary_entry', 'title' %><br>
5 body<%= text_area 'diary_entry', 'body' %><br>
6   <%= submit_tag 'Save' %>
7 <% end %>