Sha256: 2af82b4e13c508488be129c369012d99c5056c416fa1869c312942bc662e0c29
Contents?: true
Size: 1.72 KB
Versions: 9
Compression:
Stored size: 1.72 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, (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', thing: crop_type) %></p> <%= iiif_cropper_tags f, initial_crop_selection: initial_crop_selection %> <% end %> </div>
Version data entries
9 entries across 9 versions & 1 rubygems