X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1b1d90a0f951a4aa26a6cb6f912a35efd5762962..7d4cc85a312cb79fd1c4b0f22626722bea1d736d:/app/views/diary_entries/edit.html.erb?ds=inline diff --git a/app/views/diary_entries/edit.html.erb b/app/views/diary_entries/edit.html.erb index eba18cbaf..c8df07f4c 100644 --- a/app/views/diary_entries/edit.html.erb +++ b/app/views/diary_entries/edit.html.erb @@ -6,8 +6,6 @@

<%= @title %>

<% end %> -<%= error_messages_for "diary_entry" %> - -<%= form_for @diary_entry, :url => diary_entry_path(current_user, @diary_entry), :html => { :method => :put } do |f| %> - <%= render :partial => "form", :locals => { :f => f } %> +<%= bootstrap_form_for @diary_entry, :url => diary_entry_path(current_user, @diary_entry), :html => { :method => :put } do |f| %> + <%= render :partial => "form", :locals => { :f => f } %> <% end %>