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

24 lines
876 B
Text
Raw Normal View History

2016-12-07 17:55:34 +01:00
.row.white-back
2018-08-29 22:11:38 +02:00
#instructeur_form
2016-12-07 17:55:34 +01:00
.row
2017-02-14 17:08:14 +01:00
.col-xs-6
2016-12-07 17:55:34 +01:00
%h3.text-info Disponibles
2018-08-29 22:11:38 +02:00
= smart_listing_render :instructeurs_not_assign
2016-12-07 17:55:34 +01:00
%br
%h3
2018-08-29 22:11:38 +02:00
= t('dynamics.admin.procedure.onglet_instructeurs.add.title')
2016-12-07 17:55:34 +01:00
#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
2018-08-29 22:11:38 +02:00
= smart_listing_render :instructeurs_assign