Index

{{#link-to '<%= file_name.pluralize -%>.new'}}New <%= file_name.singularize -%>{{/link-to}}

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