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
|
2017-11-07 17:53:11 +01:00
|
|
|
|
%ul.messages-list
|
2017-10-05 13:43:37 +02:00
|
|
|
|
- @dossier.commentaires.each do |commentaire|
|
2017-09-06 17:06:03 +02:00
|
|
|
|
%li
|
2017-11-07 17:53:11 +01:00
|
|
|
|
= render partial: "new_gestionnaire/shared/commentaires/commentaire", locals: { commentaire: commentaire }
|
2017-09-06 17:06:03 +02:00
|
|
|
|
|
2017-11-07 17:53:11 +01:00
|
|
|
|
= render partial: "new_gestionnaire/shared/commentaires/form", locals: { commentaire: @commentaire, form_url: commentaire_avis_path(@avis) }
|