Sha256: 06932dd072637fcd319e15fb2f4cadf93e1833006c4e434520d5fadadeeda6c8

Contents?: true

Size: 1.65 KB

Versions: 36

Compression:

Stored size: 1.65 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;">
        <span class="glyphicon glyphicon-alert"></span>
        <%= t(:'.non_iiif_alert_html') %>
      </div>
      <%= text_field_tag(:document_title, (presenter(f.object.document).document_show_html_title 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="panel-heading">
          <div data-item-title="true"></div>
          <div data-panel-image-pagination="true"></div>
        </div>
      </div>
      <p class="help-block"><%= t(:'.source.exhibit.help') %></p>
    </div>
  </div>
  <div>
    <%= f.radio_button(:source, :remote, label: t(:'.source.remote.label')) %>
    <%= iiif_upload_tag(f) %>
  </div>
<% end %>
<%= field_set_tag(t(:'.source.remote.header')) do %>
  <p class="instructions"><%= t(:'.crop_area.help', thing: crop_type) %></p>
  <%= iiif_cropper_tags f, initial_crop_selection: initial_crop_selection %>
<% end %>
</div>

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
blacklight-spotlight-2.5.2 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.5.1 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.5.0 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.4.1 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.4.0 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.3.3 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.3.2 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.3.1 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.3.0 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.2.1 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.2.0 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.1.0 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.0.2 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.0.1 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.0.0 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.0.0.rc6 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.0.0.rc5 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.0.0.rc4 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.0.0.rc3 app/views/spotlight/featured_images/_form.html.erb
blacklight-spotlight-2.0.0.rc2 app/views/spotlight/featured_images/_form.html.erb