Sha256: 981b28f8eb3f7b0d3dd4310df629fa9cb4f7a9e2ae7fb18bf2be97f696a4a6f3
Contents?: true
Size: 458 Bytes
Versions: 7
Compression:
Stored size: 458 Bytes
Contents
<dl> <% columns.each :for => @record do |column| %> <dt><%= column.label -%></dt> <% if column.respond_to? :each -%> <dd> <%= render :partial => 'show_columns', :locals => {:columns => column} %> <% else -%> <% css_class = "#{column.name}-view" css_class.concat(" #{column.css_class}") unless column.css_class.nil? %> <dd class="<%= css_class.strip %>"> <%= show_column_value(@record, column) -%> <% end -%> </dd> <% end -%> </dl>
Version data entries
7 entries across 7 versions & 1 rubygems