Sha256: 4933d5850d73eb2fdde84d7e96c757528b9853d570859d83e4ecd0937eacf772

Contents?: true

Size: 1008 Bytes

Versions: 15

Compression:

Stored size: 1008 Bytes

Contents

<div class="modal-div extra_tag">
<% label = name.to_s.titleize %>
<!-- Button to trigger modal -->
<a href="#extraFieldsModal_<%= name %>" role="button" class="btn btn-warning fright vmiddle" data-toggle="modal"><%= t('.additional') %> <%= label %> <i class="fa fa-plus large-icon"></i></a>
<!-- Modal -->
<div class="modal fade" id="extraFieldsModal_<%= name %>" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
        <h2 id="extraFieldsModal_<%= name %>_Label"><%= t('.label', label: label) %></h2>
      </div>
      <div class="modal-body">
        <%= sanitize values.join("<br />") %>
      </div>
      <div class="modal-footer">
        <button class="btn btn-primary" data-dismiss="modal"><%= t('helpers.action.close') %></button>
      </div>
    </div>
  </div>
</div>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

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