]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/new.html.erb
Refactor richtext fields to use a custom bootstrap_form input.
[rails.git] / app / views / diary_entries / new.html.erb
index dfe69f22a203e795f93d41d2bd5cd3aceac0aab9..0a10cfd03c0a24f90445a4a88ef4a72003a2fbad 100644 (file)
@@ -6,8 +6,6 @@
   <h1><%= @title %></h1>
 <% end %>
 
-<%= error_messages_for "diary_entry" %>
-
-<%= form_for @diary_entry do |f| %>
+<%= bootstrap_form_for @diary_entry do |f| %>
   <%= render :partial => "form", :locals => { :f => f } %>
 <% end %>