Sha256: 012292a3f2307948335ad0dcaf69414f3eeeff577dad3cf3a4baa825f01c5fa1
Contents?: true
Size: 380 Bytes
Versions: 4
Compression:
Stored size: 380 Bytes
Contents
<% if visible?(record, attribute) && record.send(attribute).present? %> <div class="row"> <div class="col-sm-2"> <h2><%= record.class.human_attribute_name(attribute) %></h2> </div> <div class="col-sm-10"> <% if defined? formatter %> <%= formatter.call(record.send(attribute)) %> <% else %> <%= record.send(attribute) %> <% end %> </div> </div> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems