progress and end of day commit
This commit is contained in:
@@ -22,7 +22,7 @@ div.page-header= title :index, model_class
|
||||
td= <%= resource_name %>.<%= column.name %>
|
||||
<%- end end -%>
|
||||
<%- belongs_to_associations.each do |association| -%>
|
||||
td= link_to <%= resource_name %>.<%= association.name %>.<%= association.name_property %>, <%= resource_name %>.<%= association.name %>
|
||||
td= link_to_if <%= resource_name %>.<%= association.name %>.present?, <%= resource_name %>.<%= association.name %>.try(:<%= association.name_property %>), <%= resource_name %>.<%= association.name %>
|
||||
<%- end -%>
|
||||
td=l <%= resource_name %>.created_at, format: :short
|
||||
td
|
||||
|
||||
Reference in New Issue
Block a user