Index

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

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