Sha256: dc789d249ac16f993071865068bd1b8e504154acc36fb9b63e9ee6d183ff1980

Contents?: true

Size: 977 Bytes

Versions: 8

Compression:

Stored size: 977 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">Additional <%= label %> <i class="glyphicon glyphicon-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">Additional <%= label %>(s)</h2>
      </div>
      <div class="modal-body">
        <%= values.join("<br />").html_safe %>
      </div>
      <div class="modal-footer">
        <button class="btn btn-primary" data-dismiss="modal">Close</button>
      </div>
    </div>
  </div>
</div>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hyrax-2.2.1 app/views/hyrax/file_sets/_extra_fields_modal.html.erb
hyrax-2.2.0 app/views/hyrax/file_sets/_extra_fields_modal.html.erb
hyrax-2.1.0 app/views/hyrax/file_sets/_extra_fields_modal.html.erb
hyrax-2.1.0.rc4 app/views/hyrax/file_sets/_extra_fields_modal.html.erb
hyrax-2.1.0.rc3 app/views/hyrax/file_sets/_extra_fields_modal.html.erb
hyrax-2.1.0.rc2 app/views/hyrax/file_sets/_extra_fields_modal.html.erb
hyrax-2.1.0.rc1 app/views/hyrax/file_sets/_extra_fields_modal.html.erb
hyrax-2.1.0.beta2 app/views/hyrax/file_sets/_extra_fields_modal.html.erb