openstreetmap-website/app/views/diary_entries/new.html.erb
Andy Allan 78bf2993e4 Refactor richtext fields to use a custom bootstrap_form input.
This allows us to use form_group_builder and get all the label and
help text handling in line with other bootstrap_form inputs.
2021-01-13 14:05:39 +00:00

11 lines
265 B
Text

<% content_for :head do %>
<%= javascript_include_tag "diary_entry" %>
<% end %>
<% content_for :heading do %>
<h1><%= @title %></h1>
<% end %>
<%= bootstrap_form_for @diary_entry do |f| %>
<%= render :partial => "form", :locals => { :f => f } %>
<% end %>