Nicolas Bally f20fe482c6 initial
2020-04-06 10:38:07 +02:00

22 lines
408 B
Plaintext

.qi_header
.right= link_to 'Ajouter ', new_admin_<%= singular_name %>_path(), :class => "btn btn-primary", :remote => true
%h1
%span
.qi_row
.qi_pannel.qi_plain.padding
%table.table
%tr
<% attributes_names.each do |attribute| -%>
%th <%= attribute %>
<% end -%>
%th.actions
%tbody#<%= plural_name %>_rows
=render @<%= plural_name %>