30 lines
706 B
Plaintext
30 lines
706 B
Plaintext
|
|
.right= link_to 'Ajouter un animal', new_admin_sponsorship_animal_path(), :class => "btn btn-primary"
|
|
|
|
%h1 Liste des protégés
|
|
|
|
|
|
|
|
%table.stat_table.table.table-striped
|
|
%tr
|
|
%th
|
|
%th Nom
|
|
|
|
%th
|
|
|
|
|
|
|
|
- @sponsorship_animals.each do |sponsorship_animal|
|
|
|
|
%tr
|
|
%td
|
|
|
|
%td= sponsorship_animal.name
|
|
|
|
|
|
%td
|
|
= link_to i(:"trash-o"), [:admin, sponsorship_animal], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer cette sponsorship_animal ? Les signatures seront également supprimées.' }
|
|
= link_to i(:pencil), edit_admin_sponsorship_animal_path(sponsorship_animal)
|
|
= link_to i(:info), [:admin, sponsorship_animal]
|
|
|