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

14 lines
317 B
Text
Raw Normal View History

2016-12-07 17:55:34 +01:00
.row.white-back
2017-01-24 10:19:42 +01:00
%h1 Emails personnalisables
2017-01-24 10:19:42 +01:00
%table.table
%tr
2017-01-24 10:19:42 +01:00
%th{ colspan: 2 }
Type d'email
- @procedure.mail_templates.each do |mt|
2016-12-07 17:55:34 +01:00
%tr
%td
2017-01-24 10:19:42 +01:00
= mt.type
%td.text-right
= link_to "Personnaliser l'email", edit_admin_procedure_mail_path(@procedure, mt)