X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f498a9287a25fc284ef0e1fd90ea8ca91e661183..4016d8e2232e0fa2c26183cfe394c65eb2f13655:/app/views/diary_entry/new.rhtml?ds=sidebyside
diff --git a/app/views/diary_entry/new.rhtml b/app/views/diary_entry/new.rhtml
index ead58944c..d0a58cec5 100644
--- a/app/views/diary_entry/new.rhtml
+++ b/app/views/diary_entry/new.rhtml
@@ -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' %>
body<%= text_area 'diary_entry', 'body' %>
<%= submit_tag 'Save' %>
-<% end_form_tag %>
+<% end %>