2016-02-08 18:16:18 +01:00
|
|
|
%h3 Personnes invitées à voir ce dossier
|
|
|
|
|
|
|
|
%br
|
|
|
|
.row
|
|
|
|
.col-md-4.col-lg-4
|
|
|
|
- if @facade.invites.size > 0
|
|
|
|
%ul
|
|
|
|
- @facade.invites.each do |invite|
|
|
|
|
%li
|
|
|
|
= invite.email
|
|
|
|
- else
|
2016-11-03 16:46:26 +01:00
|
|
|
Aucune personne invitée
|
2016-02-08 18:16:18 +01:00
|
|
|
|
|
|
|
.col-md-3.col-lg-3
|
2016-09-13 12:17:56 +02:00
|
|
|
=form_tag invites_dossier_path(dossier_id: @facade.dossier.id), method: :post, class: 'form-inline' do
|
2016-02-08 18:16:18 +01:00
|
|
|
=text_field_tag :email, '', class: 'form-control', placeholder: 'Envoyer une invitation'
|
|
|
|
=submit_tag 'Ajouter', class: 'btn btn-success'
|
|
|
|
|