Sha256: 4ce179b125cdb9bade3538eebb304348028b18391a929fcecdd0a19b176fd607

Contents?: true

Size: 1.83 KB

Versions: 15

Compression:

Stored size: 1.83 KB

Contents

<div class="modal collectiontypes fade" id="collectiontypes-to-create" tabindex="-1" role="dialog" aria-labelledby="select-collectiontype-label">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <form class="new-collection-select">

        <div class="modal-header">
          <h4 class="modal-title" id="select-collectiontype-label"><%= t('hyrax.dashboard.collection_type_actions.select_type_of_collection') %></h4>
          <button type="button" class="close" data-dismiss="modal" aria-label="<%= t('hyrax.dashboard.collection_type_actions.close') %>"><span aria-hidden="true">&times;</span></button>
        </div>

        <div class="modal-body">
          <% @collection_type_list_presenter.each do |row_presenter| %>
            <div class="form-check radio-button-list">
              <label class="form-check-label">
                <input class="form-check-input" type="radio" name="collection_type" value="<%= row_presenter.title.gsub(/\s+/, '') %>"
                <% if row_presenter.admin_set? %>
                  data-path="<%= new_admin_admin_set_path %>"
                <% else %>
                  data-path="<%= append_collection_type_url(new_dashboard_collection_path, row_presenter.id) %>"
                <% end %> />
                <h4><%= row_presenter.title %></h4>
                <p><%= row_presenter.description %></p>
              </label>
            </div>
          <% end %>
        </div>

        <div class="modal-footer">
          <button type="button" class="btn btn-secondary" data-dismiss="modal"><%= t('hyrax.dashboard.collection_type_actions.close') %>
          </button>
          <input type="submit" class="btn btn-primary" value="<%= t('hyrax.dashboard.collection_type_actions.create_collection') %>" />
        </div>
      </form>
    </div><!-- ./modal-content -->
  </div>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb
hyrax-5.0.4 app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb
hyrax-5.0.3 app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb
hyrax-5.0.2 app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb
hyrax-5.0.1 app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb
hyrax-5.0.0 app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb
hyrax-5.0.0.rc3 app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb
hyrax-5.0.0.rc2 app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb
hyrax-5.0.0.rc1 app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb
hyrax-4.0.0 app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb
hyrax-4.0.0.rc3 app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb
hyrax-4.0.0.rc2 app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb
hyrax-4.0.0.rc1 app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb
hyrax-4.0.0.beta2 app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb
hyrax-4.0.0.beta1 app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb