]> git.openstreetmap.org Git - rails.git/blob - app/views/diary_entry/new.rhtml
various diary bits
[rails.git] / app / views / diary_entry / new.rhtml
1 <%= error_messages_for 'diary_entry' %>
2
3 <%= start_form_tag :controller => 'diary_entry', :action => 'new' %>
4 subject<%= text_field 'diary_entry', 'title' %><br>
5 body<%= text_area 'diary_entry', 'body' %><br>
6   <%= submit_tag 'Save' %>
7 <% end_form_tag %>