Sha256: 6951fa6a8eecf976eea795a2436ba2f7fc23eaec7700bc285ea65e64e60b4326

Contents?: true

Size: 1.79 KB

Versions: 7

Compression:

Stored size: 1.79 KB

Contents

<div class="modal 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('sufia.dashboard.heading_actions.close') %>"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="select-worktype-label"><%= t('sufia.dashboard.heading_actions.select_type_of_work') %></h4>
      </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="<%= sufia.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><%= 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('sufia.dashboard.heading_actions.close') %></button>
          <input type="submit" class="btn btn-primary" value="Submit">
        </div>
      </form>
    </div>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sufia-7.4.1 app/views/shared/_select_work_type_modal.html.erb
sufia-7.4.0 app/views/shared/_select_work_type_modal.html.erb
sufia-7.3.1 app/views/shared/_select_work_type_modal.html.erb
sufia-7.3.0 app/views/shared/_select_work_type_modal.html.erb
sufia-7.3.0.rc3 app/views/shared/_select_work_type_modal.html.erb
sufia-7.3.0.rc2 app/views/shared/_select_work_type_modal.html.erb
sufia-7.3.0.rc1 app/views/shared/_select_work_type_modal.html.erb