]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/new.html.erb
Add migration script
[rails.git] / app / views / diary_entries / new.html.erb
index d71331fcf999d9451f0ff6419d8b92683b6b91f5..0a10cfd03c0a24f90445a4a88ef4a72003a2fbad 100644 (file)
@@ -6,8 +6,6 @@
   <h1><%= @title %></h1>
 <% end %>
 
-<%= error_messages_for "diary_entry" %>
-
-<%= form_for @diary_entry do |f| %>
-  <%= render :partial => "form", :locals =>  { :f => f } %>
+<%= bootstrap_form_for @diary_entry do |f| %>
+  <%= render :partial => "form", :locals => { :f => f } %>
 <% end %>