This commit is contained in:
Kara Diaby 2022-08-30 21:41:54 +02:00
parent f8d4644f73
commit f7039bbb0a
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,9 @@
- content_for(:title, "#{@subject}")
%p= t(:hello, scope: [:views, :shared, :greetings])
%p
= t('.body', dossier_id: @avis.dossier.id, libelle_demarche: @avis.dossier.procedure.libelle)
%p= link_to("Voir le dossier n°#{@avis.dossier.id}", instructeur_dossier_url(@avis.procedure, @avis.dossier))
= render partial: "layouts/mailers/signature"

View file

@ -74,6 +74,20 @@
= form.radio_button :weekly_email_notifications_enabled, false
= t('.utils.negative')
= form.label :email_notification, t('.avis_notifications.title')
%p.notice
= t('.avis_notifications.notice_1')
%p.notice
= t('.avis_notifications.notice_2')
.radios
%label
= form.radio_button :instant_expert_avis_email_notifications_enabled, true
= t('.utils.positive')
%label
= form.radio_button :instant_expert_avis_email_notifications_enabled, false
= t('.utils.negative')
.send-wrapper
= link_to t('.buttons.back_to_procedure'), instructeur_procedure_path(@procedure), class: 'button mr-1'
= form.submit t('.buttons.save'), class: "button primary"