app/views/spotlight/exhibits/edit.html.erb in blacklight-spotlight-0.1.0 vs app/views/spotlight/exhibits/edit.html.erb in blacklight-spotlight-0.2.0
- old
+ new
@@ -10,9 +10,13 @@
<%= f.fields_for :contact_emails do |contact| %>
<%= render partial: 'contact', locals: {contact: contact} %>
<% end %>
<p class="help-block"><%= t(:'.fields.contact_emails.help_block') %></p>
<% end %>
+ <%= f.form_group :published, label: { text: nil, class: nil }, help: nil do %>
+ <%= f.check_box :published, label: "" %>
+ <p class="help-block"><%= t(:'.fields.published.help_block') %></p>
+ <% end %>
<div class="form-actions">
<div class="primary-actions">
<%= f.submit nil, class: 'btn btn-primary' %>