This allows us to use form_group_builder and get all the label and help text handling in line with other bootstrap_form inputs.
11 lines
265 B
Text
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 %>
|