Sha256: c80b5f95638de4715428968e0a6a1173be5fb1ed4e8ecf7fecf9f1330ca56dc2

Contents?: true

Size: 1.58 KB

Versions: 30

Compression:

Stored size: 1.58 KB

Contents

<div class="modal fade" id="add-tags-modal" tabindex="-1" role="dialog" aria-labelledby="add-tag-modal" aria-hidden="true">
  <div class="modal-dialog">
  <%= bootstrap_form_for([:visibility, current_exhibit], url: add_tags_exhibit_bulk_actions_path(current_exhibit), method: 'post') do |f| %>
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title" id="add-tag-modal"><%= t(:'spotlight.bulk_actions.add_tags.heading') %></h4>
        <button type="button" class="blacklight-modal-close close" data-dismiss="modal" aria-label="<%= t('blacklight.modal.close') %>">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <p>
          <%= t(:'spotlight.bulk_actions.add_tags.description', count: @response.total) %>
        </p>
        <div class="form-group">
          <%= label_tag :tags, t(:'spotlight.bulk_actions.add_tags.label') %>
          <%= text_field_tag :tags, '', class: 'form-control', data: { autocomplete_tag: true, autocomplete_url: exhibit_tags_path(current_exhibit, format: 'json')} %>
        </div>
        <%= render Blacklight::HiddenSearchStateComponent.new(params: search_state.params_for_search) %>
      </div>
      <div class="modal-footer d-flex flex-row-reverse justify-content-start">
        <%= f.submit t(:'spotlight.bulk_actions.add'), class: 'btn btn-primary', data: { confirm: t(:'spotlight.bulk_actions.confirm') } %>
        <button type="button" class="btn btn-link" data-dismiss="modal"><%= t :cancel %></button>
      </div>
    </div>
    <% end %>
  </div>
</div>

Version data entries

30 entries across 30 versions & 1 rubygems

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