demarches-normaliennes/app/views/new_gestionnaire/dossiers/messagerie.html.haml

12 lines
580 B
Text
Raw Normal View History

2017-11-17 23:40:51 +01:00
- content_for(:title, "Messagerie · Dossier nº #{@dossier.id} (#{@dossier.owner_name})")
2017-07-19 11:08:53 +02:00
= render partial: "header", locals: { dossier: @dossier }
2017-09-06 17:06:03 +02:00
.messagerie.container
%ul.messages-list
- @dossier.commentaires.each do |commentaire|
2017-07-19 11:08:53 +02:00
%li
= render partial: "new_gestionnaire/shared/commentaires/commentaire", locals: { commentaire: commentaire, messagerie_seen_at: @messagerie_seen_at }
2017-07-20 14:23:16 +02:00
= render partial: "new_gestionnaire/shared/commentaires/form", locals: { commentaire: @commentaire, form_url: commentaire_dossier_path(@dossier.procedure, @dossier) }