Sha256: 96b130d69fe1edfcf06159a0a85c3cf7c0c0af0b6da2ecf8d9232ae61ea39106

Contents?: true

Size: 999 Bytes

Versions: 11

Compression:

Stored size: 999 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="icon-plus-sign icon-large"></i></a>
<!-- Modal -->
<div class="modal hide fade" id="extraFieldsModal_<%=name %>" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <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" aria-hidden="true">
      <% values[start..values.length].each do |value| %>
         <% next if value.empty? %>
         <%= "#{value.truncate(250)}" %><br />
      <% end %>
  </div>
  <div class="modal-footer">
    <button class="btn btn-primary" data-dismiss="modal" aria-hidden="true">Close</button>
  </div>
</div>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sufia-0.1.0 app/views/generic_files/_extra_fields_modal.html.erb
sufia-0.0.8 app/views/generic_files/_extra_fields_modal.html.erb
sufia-0.0.7 app/views/generic_files/_extra_fields_modal.html.erb
sufia-0.0.6 app/views/generic_files/_extra_fields_modal.html.erb
sufia-0.0.5 app/views/generic_files/_extra_fields_modal.html.erb
sufia-0.0.4 app/views/generic_files/_extra_fields_modal.html.erb
sufia-0.0.3 app/views/generic_files/_extra_fields_modal.html.erb
sufia-0.0.2 app/views/generic_files/_extra_fields_modal.html.erb
sufia-0.0.1 app/views/generic_files/_extra_fields_modal.html.erb
sufia-0.0.1.pre2 app/views/generic_files/_extra_fields_modal.html.erb
sufia-0.0.1.pre1 app/views/generic_files/_extra_fields_modal.html.erb