app/views/spotlight/featured_images/_form.html.erb in blacklight-spotlight-3.6.0.beta10 vs app/views/spotlight/featured_images/_form.html.erb in blacklight-spotlight-4.0.0
- old
+ new
@@ -1,8 +1,8 @@
<div data-cropper="<%= f.object.model_name.singular_route_key %>" data-form-prefix="<%= form_prefix(f) %>">
<%= field_set_tag do %>
- <%= f.check_box(:display) %>
+ <%= f.check_box(:display, layout: :vertical) %>
<% end if f.object.is_a? Spotlight::Masthead %>
<%= field_set_tag(t(:'.source.header')) do %>
<div>
<%= f.radio_button(:source, :exhibit, label: t(:'.source.exhibit.label')) %>
<div>
@@ -16,18 +16,18 @@
<div class="card-header">
<div data-item-title="true"></div>
<div data-panel-image-pagination="true"></div>
</div>
</div>
- <small class="form-text text-muted"><%= t(:'.source.exhibit.help') %></small>
+ <div class="form-text text-muted mb-3"><%= t(:'.source.exhibit.help') %></div>
</div>
</div>
<div>
<%= f.radio_button(:source, :remote, label: t(:'.source.remote.label')) %>
<%= iiif_upload_tag(f) %>
- <small class="form-text text-muted">
+ <div class="form-text text-muted mb-3">
<%= t(:'.source.remote.help') %>
- </small>
+ </div>
</div>
<% end %>
<%= field_set_tag(t(:'.source.remote.header')) do %>
<p class="instructions"><%= t(:'.crop_area.help_html', thing: crop_type) %></p>
<%= iiif_cropper_tags f, initial_crop_selection: initial_crop_selection %>