2018-04-03 14:22:53 +02:00
|
|
|
= render partial: 'admin/closed_mail_template_attestation_inconsistency_alert'
|
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-05-27 00:54:34 +02:00
|
|
|
- @mail_templates.each do |mail_template|
|
2017-01-24 14:36:43 +01:00
|
|
|
%tr
|
2017-02-28 22:57:05 +01:00
|
|
|
%td
|
2017-05-27 00:54:34 +02:00
|
|
|
= mail_template.class.const_get(:DISPLAYED_NAME)
|
2017-02-28 22:57:05 +01:00
|
|
|
%td.text-right
|
2017-05-27 00:54:34 +02:00
|
|
|
= link_to "Personnaliser l'e-mail", edit_admin_procedure_mail_template_path(@procedure, mail_template.class.const_get(:SLUG))
|