Sha256: 6f1375188193f2df4c786faff77d1d8b9db30a69e57bc09616590521385c7c54
Contents?: true
Size: 994 Bytes
Versions: 29
Compression:
Stored size: 994 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" 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
29 entries across 29 versions & 1 rubygems