demarches-normaliennes/app/views/new_gestionnaire/shared/_messagerie.html.haml

8 lines
451 B
Text
Raw Normal View History

.messagerie.container
%ul.messages-list
- dossier.commentaires.each do |commentaire|
%li{ class: commentaire_is_from_me_class(commentaire, current_gestionnaire.email) }
2017-12-18 13:57:27 +01:00
= render partial: "new_gestionnaire/shared/messages/message", locals: { commentaire: commentaire, messagerie_seen_at: messagerie_seen_at }
2017-12-18 13:57:27 +01:00
= render partial: "new_gestionnaire/shared/messages/form", locals: { commentaire: new_commentaire, form_url: form_url }