]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/new.html.erb
JSON: return HTTP 406 for unsupported formats
[rails.git] / app / views / diary_entries / new.html.erb
index d71331fcf999d9451f0ff6419d8b92683b6b91f5..dfe69f22a203e795f93d41d2bd5cd3aceac0aab9 100644 (file)
@@ -9,5 +9,5 @@
 <%= error_messages_for "diary_entry" %>
 
 <%= form_for @diary_entry do |f| %>
 <%= error_messages_for "diary_entry" %>
 
 <%= form_for @diary_entry do |f| %>
-  <%= render :partial => "form", :locals =>  { :f => f } %>
+  <%= render :partial => "form", :locals => { :f => f } %>
 <% end %>
 <% end %>