Sha256: 42bd3cf7c9b93bb0fd3f2d75b12fd780b4670c26cb41e4e67b0ac0a37090553e

Contents?: true

Size: 1.74 KB

Versions: 30

Compression:

Stored size: 1.74 KB

Contents

<div data-cropper="<%= f.object.model_name.singular_route_key %>" data-form-prefix="<%= form_prefix(f) %>">
<%= field_set_tag do %>
  <%= f.check_box(:display) %>
<% 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>
      <%= f.hidden_field(:document_global_id) %>
      <div class="alert alert-danger" data-behavior="non-iiif-alert" role="alert" style="display:none;">
        <%= blacklight_icon('warning') %>
        <%= t(:'.non_iiif_alert_html') %>
      </div>
      <%= text_field_tag(:document_title, (document_presenter(f.object.document).heading if f.object.document), class: "form-control", data: { input_select_target: "##{form_prefix(f)}_source_exhibit", 'behavior': 'autocomplete', featured_image_typeahead: true, target_panel: "##{form_prefix(f)}-target-panel", :'id-field' => "##{form_prefix(f)}_document_global_id" }) %>
      <div id="<%= form_prefix(f) %>-target-panel" style="display:none">
        <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>
  </div>
  <div>
    <%= f.radio_button(:source, :remote, label: t(:'.source.remote.label')) %>
    <%= iiif_upload_tag(f) %>
    <small class="form-text text-muted">
      <%= t(:'.source.remote.help') %>
    </small>
  </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 %>
<% end %>
</div>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
blacklight-spotlight-3.6.0.beta10 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.6.0.beta9 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.6.0.beta8 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.5.0.4 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.6.0.beta7 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.5.0.3 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.6.0.beta6 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.6.0.beta5 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.6.0.beta4 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.6.0.beta3 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.6.0.beta1 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.5.0.2 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.5.0.1 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.5.0 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.4.4.1 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.4.4 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.4.3 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.4.2.2 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.4.2.1 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-3.4.2 app/views/spotlight/featured_images/_form.html.erb