]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/edit.html.erb
Use rails to migrate database for vagrant
[rails.git] / app / views / diary_entries / edit.html.erb
index 5ea6193280c357e5d55e2036df03aad1da49bdfe..c8df07f4c4ee42ddd79ce690a1eeaecbd8ba20f7 100644 (file)
@@ -6,8 +6,6 @@
   <h1><%= @title %></h1>
 <% end %>
 
-<%= error_messages_for "diary_entry" %>
-
-<%= form_for @diary_entry, :url => diary_entry_path(current_user, @diary_entry), :html => { :method => :put } do |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 %>