Sha256: d7f4116c2b74cc10fac1039118344f8dbe0eb310b2c7470ab617eaa5b21cf660

Contents?: true

Size: 1.92 KB

Versions: 19

Compression:

Stored size: 1.92 KB

Contents

<div class="modal fade" id="change-visibility-modal" tabindex="-1" role="dialog" aria-labelledby="save-modal-label" aria-hidden="true">
  <div class="modal-dialog">
  <%= bootstrap_form_for([:change_visibility, current_exhibit], url: change_visibility_exhibit_bulk_actions_path(current_exhibit), method: 'post') do |f| %>
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title" id="save-modal-label"><%= t(:'spotlight.bulk_actions.change_visibility.heading') %></h4>
        <button type="button" class="blacklight-modal-close close btn-close" data-dismiss="modal" data-bs-dismiss="modal" aria-label="<%= t('blacklight.modal.close') %>">
          <span aria-hidden="true" class="visually-hidden">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <p>
          <%= t(:'spotlight.bulk_actions.change_visibility.description', count: @response.total) %>
        </p>
        <div class="form-check-label">
          <%= t(:'spotlight.bulk_actions.change_visibility.label') %>
        </div>
        <% ['public', 'private'].each do |key| %>
          <div class="form-check">
            <%= label_tag "visibility_#{key}", class: 'form-check-label'  do %>
              <%= radio_button_tag :visibility, key, {}, class: 'form-check-input' %>
              <%= t(:"spotlight.bulk_actions.change_visibility.#{key}") %>
            <% end %>
          </div>
        <% end %>
        <%= 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.change'), class: 'btn btn-primary', data: { confirm: t(:'spotlight.bulk_actions.confirm') } %>
        <button type="button" class="btn btn-link" data-dismiss="modal" data-bs-dismiss="modal"><%= t :cancel %></button>
      </div>
    </div>
    <% end %>
  </div>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
blacklight-spotlight-4.6.1 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.6.0 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.5.0 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.4.0 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.3.6 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.3.5 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.3.4 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.3.3 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.3.2 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.3.1 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.3.0 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.2.0 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.1.2 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.1.1 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.1.0 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.0.3 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.0.2 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.0.1 app/views/catalog/_change_visibility.html.erb
blacklight-spotlight-4.0.0 app/views/catalog/_change_visibility.html.erb