2017-02-28 22:57:05 +01:00
|
|
|
#custom-mails
|
|
|
|
.wrapper
|
|
|
|
%h1 E-mails personnalisables
|
|
|
|
%table.table
|
|
|
|
%tr
|
|
|
|
%th{ colspan: 2 }
|
|
|
|
Type d'email
|
2017-03-05 11:05:28 +01:00
|
|
|
- @mails.each do |mail|
|
2017-01-24 14:36:43 +01:00
|
|
|
%tr
|
2017-02-28 22:57:05 +01:00
|
|
|
%td
|
2017-03-06 23:18:16 +01:00
|
|
|
= mail.class.const_get(:DISPLAYED_NAME)
|
2017-02-28 22:57:05 +01:00
|
|
|
%td.text-right
|
2017-03-05 11:05:28 +01:00
|
|
|
= link_to "Personnaliser l'e-mail", edit_admin_procedure_mail_template_path(@procedure, mail.class.slug)
|