.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 %>