2018-08-16 17:22:35 +02:00
|
|
|
.messagerie.container
|
|
|
|
%ul.messages-list
|
|
|
|
- dossier.commentaires.each do |commentaire|
|
2018-09-11 18:35:29 +02:00
|
|
|
%li.message{ class: commentaire_is_from_me_class(commentaire, connected_user) }
|
2018-09-11 17:32:08 +02:00
|
|
|
= render partial: "shared/dossiers/messages/message", locals: { commentaire: commentaire, connected_user: connected_user, messagerie_seen_at: messagerie_seen_at }
|
2018-08-16 17:22:35 +02:00
|
|
|
|
|
|
|
= render partial: "shared/dossiers/messages/form", locals: { commentaire: new_commentaire, form_url: form_url }
|