demarches-normaliennes/app/views/admin/procedures/_modal_transfer.html.haml

28 lines
1.3 KiB
Text
Raw Normal View History

2018-08-23 11:21:51 +02:00
#transfer-modal.modal.fade{ "aria-labelledby" => "TransferProcedureModal", :role => "dialog", :tabindex => "-1" }
2017-04-06 19:10:25 +02:00
.modal-dialog.modal-md{ :role => "document" }
= form_tag admin_procedure_transfer_path(procedure_id: @procedure.id), method: :post, remote: true do
.modal-content
.modal-header
2017-04-06 19:10:25 +02:00
%button.close{ "aria-label" => "Close", "data-dismiss" => "modal", :type => "button" }
%span{ "aria-hidden" => "true" } ×
%h4#myModalLabel.modal-title
2018-09-05 14:48:42 +02:00
Envoyer une copie de cette démarche à un autre administrateur
.modal-body
%p
2018-09-05 14:48:42 +02:00
Cette fonctionnalité vous permet de d'envoyer une copie de votre démarche à un autre administrateur.
2017-04-06 19:10:25 +02:00
%div{ style:'margin-top:20px' }
= text_field_tag :email_admin, '', { class: 'form-control',
type: 'email',
placeholder: 'Email administrateur cible',
style: 'width: 300px; margin-left:auto; margin-right:auto' }
#not_found_admin.center.text-danger{ style:'display: none; margin-top: 10px;' }
Cet administrateur n'existe pas.
.modal-footer
= submit_tag "Envoyer", class: 'btn btn-success'
= button_tag 'Annuler', class: %w(btn btn btn-default), id: 'cancel', data: { dismiss: 'modal' }