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

Version Path
active_scaffold-3.4.22 app/views/active_scaffold_overrides/_show_columns.html.erb
active_scaffold-3.4.21.1 app/views/active_scaffold_overrides/_show_columns.html.erb
active_scaffold-3.4.21 app/views/active_scaffold_overrides/_show_columns.html.erb
active_scaffold-3.4.20 app/views/active_scaffold_overrides/_show_columns.html.erb
active_scaffold-3.4.19 app/views/active_scaffold_overrides/_show_columns.html.erb
active_scaffold-3.4.18.1 app/views/active_scaffold_overrides/_show_columns.html.erb
active_scaffold-3.4.18 app/views/active_scaffold_overrides/_show_columns.html.erb