blob: f142d15ddd2ed6ccd6274cec5e906445486129b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
%table.table.table-striped
%tr
<%- for attribute in model_attributes -%>
%th= t('<%= plural_name %>.index.<%= attribute.name %>')
<%- end -%>
- for <%= instance_name %> in <%= instances_name %>
%tr
<%- for attribute in model_attributes -%>
%td= <%= instance_name %>.<%= attribute.name %>
<%- end -%>
=render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => <%= instance_name %>}
|