2015-11-04 17:27:01 +01:00
|
|
|
.row#recap_dossier
|
2015-11-27 13:56:54 +01:00
|
|
|
.col-md-4.col-lg-4
|
|
|
|
.row
|
|
|
|
.col-md-6.col-lg-6
|
|
|
|
%h2 Récapitulatif
|
|
|
|
.col-md-6.col-lg-6
|
2015-12-24 15:10:20 +01:00
|
|
|
= form_tag "/users/dossiers/#{@facade.dossier.id}/archive", style:'margin-top:21px', action: :archive, method: :put do
|
2015-11-27 13:56:54 +01:00
|
|
|
%button#archive.btn.btn-sm.btn-default.text-info{type: :button}
|
|
|
|
%i.fa.fa-eraser
|
|
|
|
Archiver
|
|
|
|
#confirm
|
|
|
|
%button#cancel.btn.btn-sm.btn-danger{type: :button}
|
|
|
|
%i.fa.fa-remove
|
|
|
|
Annuler
|
2015-11-27 16:00:34 +01:00
|
|
|
%button#valid.btn.btn-sm.btn-success{type: :submit}
|
|
|
|
%i.fa.fa-check
|
|
|
|
Valider
|
2015-08-10 11:05:06 +02:00
|
|
|
|
2015-11-27 13:56:54 +01:00
|
|
|
.col-md-5.col-lg-5
|
2015-08-10 11:05:06 +02:00
|
|
|
|
2015-11-04 17:27:01 +01:00
|
|
|
.col-md-3.col-lg-3
|
2015-09-24 10:17:59 +02:00
|
|
|
%h2#dossier_id{:class => 'text-info', :style => 'text-align:right; margin-bottom:15px'}
|
2015-12-24 15:10:20 +01:00
|
|
|
= "Dossier n°#{@facade.dossier.id}"
|
2015-09-24 16:51:14 +02:00
|
|
|
|
2015-09-24 10:17:59 +02:00
|
|
|
- unless gestionnaire_signed_in?
|
2015-12-24 15:10:20 +01:00
|
|
|
-if @facade.dossier.validated?
|
2015-11-27 13:56:54 +01:00
|
|
|
%br
|
2015-12-24 15:10:20 +01:00
|
|
|
= form_tag(url_for({controller: :recapitulatif, action: :submit, dossier_id: @facade.dossier.id}), method: 'POST') do
|
2015-11-27 13:56:54 +01:00
|
|
|
%button#validate_button.btn.btn-success
|
2015-09-24 16:51:14 +02:00
|
|
|
= 'Déposer mon dossier'
|
|
|
|
-else
|
|
|
|
%h3{:class => 'text-success', :style => 'text-align:right'}
|
2015-12-24 16:12:16 +01:00
|
|
|
= @facade.dossier.display_state
|
2015-09-24 10:17:59 +02:00
|
|
|
|
2015-08-10 11:05:06 +02:00
|
|
|
%br
|
2015-08-25 16:33:55 +02:00
|
|
|
|
2015-09-24 10:17:59 +02:00
|
|
|
= render partial: '/dossiers/infos_dossier'
|
|
|
|
%br
|
2015-08-10 11:05:06 +02:00
|
|
|
= render partial: 'commentaires_flux'
|