Sha256: a19c91019d6fc9a88ea9dda3cc95da6fa3f04eba25c356e16757313fd00ec655
Contents?: true
Size: 810 Bytes
Versions: 3
Compression:
Stored size: 810 Bytes
Contents
.page-header .row .col-md-8 h1= plural_table_name .col-md-4.new-link = link_to 'New <%= human_name %>', new_<%= singular_table_name %>_path, class: 'btn btn-primary' table.table.table-hover thead tr <% for attribute in attributes -%> th <%= attribute.human_name %> <% end -%> th th th tbody - @<%= plural_table_name %>.each do |<%= singular_table_name %>| tr <% for attribute in attributes -%> td= <%= singular_table_name %>.<%= attribute.name %> <% end -%> td= link_to 'Show', <%= singular_table_name %> td= link_to 'Edit', edit_<%= singular_table_name %>_path(<%= singular_table_name %>) td= link_to 'Destroy', <%= singular_table_name %>, :method => :delete, :data => { :confirm => 'Are you sure?' } br
Version data entries
3 entries across 3 versions & 1 rubygems