demarches-normaliennes/app/views/admin/accompagnateurs/show.html.haml

24 lines
888 B
Text
Raw Normal View History

2016-12-07 17:55:34 +01:00
.row.white-back
#accompagnateur_form
.row
2017-02-14 17:08:14 +01:00
.col-xs-6
2016-12-07 17:55:34 +01:00
%h3.text-info Disponibles
= smart_listing_render :accompagnateurs_not_assign
2016-12-07 17:55:34 +01:00
%br
%h3
= t('dynamics.admin.procedure.onglet_accompagnateurs.add.title')
#procedure_new.section.section-label
2017-04-06 19:10:25 +02:00
= form_for @gestionnaire, url: { controller: 'admin/gestionnaires', action: :create } do |f|
2016-12-07 17:55:34 +01:00
.row
2017-02-14 17:08:14 +01:00
.col-xs-5
2016-12-07 17:55:34 +01:00
= hidden_field_tag :procedure_id, params[:procedure_id]
2017-04-06 19:10:25 +02:00
= render partial: 'admin/gestionnaires/informations', locals: { f: f }
2017-02-14 17:08:14 +01:00
.col-xs-2
2016-12-07 17:55:34 +01:00
%br
%br
= f.submit 'Valider', class: 'btn btn-info', style: 'float: left;', id: 'add-gestionnaire-email'
2017-02-14 17:08:14 +01:00
.col-xs-6
2016-12-07 17:55:34 +01:00
%h3.text-success Affectés
= smart_listing_render :accompagnateurs_assign