Sha256: 3fd9cda6904d3881af49e27b659214b1a903a3e5064f6825b93ff5a2eb77f3af

Contents?: true

Size: 1.87 KB

Versions: 9

Compression:

Stored size: 1.87 KB

Contents

<div class="modal worktypes fade" id="worktypes-to-create" tabindex="-1" role="dialog" aria-labelledby="select-worktype-label">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="<%= t('hyrax.dashboard.heading_actions.close') %>"><span aria-hidden="true">&times;</span></button>
        <h2 class="modal-title" id="select-worktype-label"><%= t('hyrax.dashboard.heading_actions.select_type_of_work') %></h2>
      </div>
      <form class="new-work-select">
        <div class="modal-body">
          <% create_work_presenter.each do |row_presenter| %>
            <div class="select-worktype">
              <label>
                <input type="radio" name="payload_concern" value="<%= row_presenter.concern %>"
                                                             data-single="<%= new_polymorphic_path([main_app, row_presenter.concern]) %>"
                                                             data-batch="<%= hyrax.new_batch_upload_path(payload_concern: row_presenter.concern) %>">
                <div class="select-work-icon">
                  <span class="<%= row_presenter.icon_class %>"></span>
                </div>
                <div class="select-work-description">
                  <h3 class="work-type-title"><%= row_presenter.name %></h3>
                  <p><%= row_presenter.description %></p>
                </div>
              </label>
            </div>
          <% end %>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default" data-dismiss="modal"><%= t('hyrax.dashboard.heading_actions.close') %></button>
          <input type="submit" class="btn btn-primary" value="<%= t('hyrax.dashboard.heading_actions.create_work') %>">
        </div>
      </form>
    </div>
  </div>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hyrax-1.1.1 app/views/shared/_select_work_type_modal.html.erb
hyrax-1.1.0 app/views/shared/_select_work_type_modal.html.erb
hyrax-1.0.5 app/views/shared/_select_work_type_modal.html.erb
hyrax-1.0.4 app/views/shared/_select_work_type_modal.html.erb
hyrax-1.0.3 app/views/shared/_select_work_type_modal.html.erb
hyrax-1.0.2 app/views/shared/_select_work_type_modal.html.erb
hyrax-1.0.1 app/views/shared/_select_work_type_modal.html.erb
hyrax-1.0.0.rc2 app/views/shared/_select_work_type_modal.html.erb
hyrax-1.0.0.rc1 app/views/shared/_select_work_type_modal.html.erb