demarches-normaliennes/app/views/admin/mail_templates/index.html.haml

15 lines
511 B
Text
Raw Normal View History

= render partial: 'admin/closed_mail_template_attestation_inconsistency_alert'
#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|
%tr
%td
2017-05-27 00:54:34 +02:00
= mail_template.class.const_get(:DISPLAYED_NAME)
%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))