Sha256: 2143aa7f9b6a265a9811884266a05563815a745e9e4e593098d55f3006930805
Contents?: true
Size: 1.84 KB
Versions: 30
Compression:
Stored size: 1.84 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" data-dismiss="modal" aria-label="<%= t('blacklight.modal.close') %>"> <span aria-hidden="true">×</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"><%= t :cancel %></button> </div> </div> <% end %> </div> </div>
Version data entries
30 entries across 30 versions & 1 rubygems