]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/new.rhtml
Return "404 Not Found" for users and traces which don't exist.
[rails.git] / app / views / diary_entry / new.rhtml
index ead58944ce521e5e290c6db14b3c299434537b3e..d0a58cec50654c1a2e0f088defceceaa1a6e00bf 100644 (file)
@@ -1,7 +1,7 @@
 <%= error_messages_for 'diary_entry' %>
 
-<%= start_form_tag :controller => 'diary_entry', :action => 'new' %>
+<% form_tag :controller => 'diary_entry', :action => 'new' do %>
 subject<%= text_field 'diary_entry', 'title' %><br>
 body<%= text_area 'diary_entry', 'body' %><br>
   <%= submit_tag 'Save' %>
-<% end_form_tag %>
+<% end %>