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

12 lines
526 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-09-06 17:06:03 +02:00
= render partial: 'header', locals: { avis: @avis, dossier: @dossier }
.messagerie.container
%ul.messages-list
- @dossier.commentaires.each do |commentaire|
2017-09-06 17:06:03 +02:00
%li
= render partial: "new_gestionnaire/shared/commentaires/commentaire", locals: { commentaire: commentaire }
2017-09-06 17:06:03 +02:00
= render partial: "new_gestionnaire/shared/commentaires/form", locals: { commentaire: @commentaire, form_url: commentaire_avis_path(@avis) }