{{#link-to '<%= file_name.pluralize -%>.new'}}New <%= file_name.singularize -%>{{/link-to}}
id | <% attributes.each do |attribute| -%><%= attribute[:name].titleize -%> | <% end -%>
---|---|
{{#link-to '<%= file_name.pluralize -%>.show' this}}{{id}}{{/link-to}} | <% attributes.each do |attribute| -%>{{<%= attribute[:name] -%>}} | <% end -%>