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