2016-02-08 18:16:18 +01:00
|
|
|
%h3 Personnes invitées à voir ce dossier
|
|
|
|
|
|
|
|
%br
|
|
|
|
.row
|
2016-12-23 16:58:06 +01:00
|
|
|
.col-md-4.col-sm-4.col-xs-4.col-lg-4
|
2016-02-08 18:16:18 +01:00
|
|
|
- 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
|
|
|
|
2016-12-23 16:58:06 +01:00
|
|
|
.col-md-3.col-sm-3.col-xs-3.col-lg-3
|
2016-12-26 14:16:08 +01:00
|
|
|
= form_tag invites_dossier_path(dossier_id: @facade.dossier.id), method: :post, class: 'form-inline' do
|
|
|
|
= text_field_tag :email, '', class: 'form-control', placeholder: 'Envoyer une invitation'
|
|
|
|
= submit_tag 'Ajouter', class: 'btn btn-success', id: 'send-invitation'
|
2016-02-08 18:16:18 +01:00
|
|
|
|