41 lines
No EOL
1.4 KiB
Text
41 lines
No EOL
1.4 KiB
Text
.row#recap_dossier
|
|
.col-md-4.col-lg-4
|
|
.row
|
|
.col-md-6.col-lg-6
|
|
%h2 Récapitulatif
|
|
.col-md-6.col-lg-6
|
|
- if current_user.email == @facade.dossier.user.email
|
|
= form_tag "/users/dossiers/#{@facade.dossier.id}/archive", style:'margin-top:21px', action: :archive, method: :put do
|
|
%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
|
|
%button#valid.btn.btn-sm.btn-success{type: :submit}
|
|
%i.fa.fa-check
|
|
Valider
|
|
|
|
.col-md-5.col-lg-5
|
|
|
|
.col-md-3.col-lg-3
|
|
%h2#dossier_id{:class => 'text-info', :style => 'text-align:right; margin-bottom:15px'}
|
|
= "Dossier n°#{@facade.dossier.id}"
|
|
|
|
- if user_signed_in? && current_user.email == @facade.dossier.user.email
|
|
-if @facade.dossier.validated?
|
|
%br
|
|
= form_tag(url_for({controller: :recapitulatif, action: :submit, dossier_id: @facade.dossier.id}), method: 'POST') do
|
|
%button#validate_button.btn.btn-success
|
|
= 'Déposer mon dossier'
|
|
-else
|
|
%h3{:class => 'text-success', :style => 'text-align:right'}
|
|
= @facade.dossier.display_state
|
|
|
|
%br
|
|
|
|
= render partial: '/dossiers/infos_dossier'
|
|
|
|
%br
|
|
= render partial: '/users/recapitulatif/commentaires_flux' |