43 lines
904 B
Plaintext
43 lines
904 B
Plaintext
|
|
|
|
.qi_header
|
|
.right= link_to 'Ajouter un projet', new_admin_projet_path(), :class => "btn btn-primary"
|
|
%h1
|
|
|
|
Projets
|
|
|
|
|
|
|
|
.qi_row
|
|
.qi_pannel.qi_plain.padding
|
|
|
|
|
|
|
|
%table.stat_table.table
|
|
%tr
|
|
%th
|
|
|
|
%th Nom
|
|
|
|
%th
|
|
|
|
|
|
|
|
- @projets.each do |projet|
|
|
%tr
|
|
%td{:style => "width:120px;"}
|
|
=image_tag projet.image_file.file.large.medium.small.url if projet.image_file
|
|
|
|
%td
|
|
= projet.name
|
|
|
|
|
|
|
|
|
|
%td.actions
|
|
= link_to i(:"trash-o"), [:admin, projet], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer cette projet ? Les signatures seront également supprimées.' }
|
|
= link_to i(:pencil), edit_admin_projet_path(projet)
|
|
= link_to i(:info), [:admin, projet]
|
|
|
|
.qi_pagination
|
|
= paginate @projets #, :remote => true |