demarches-normaliennes/app/views/users/recapitulatif/show.html.haml

31 lines
969 B
Text
Raw Normal View History

2015-11-04 17:27:01 +01:00
.row#recap_dossier
.col-md-4.col-lg-4
.row
.col-md-6.col-lg-6
%h2 Récapitulatif
2015-08-10 11:05:06 +02: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
%h2#dossier_id{:class => 'text-info', :style => 'text-align:right; margin-bottom:15px'}
2016-11-03 16:46:26 +01:00
= t('dynamics.dossiers.numéro') + @facade.dossier.id.to_s
- 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
= 'Procéder au dépôt définitif'
-else
%h3{:class => 'text-success', :style => 'text-align:right'}
2015-12-24 16:12:16 +01:00
= @facade.dossier.display_state
2015-08-10 11:05:06 +02:00
%br
- unless @facade.entreprise.nil?
= render partial: '/dossiers/infos_entreprise'
2015-08-25 16:33:55 +02:00
= render partial: '/dossiers/infos_dossier'
%div
%br
= render partial: 'dossiers/tab_objects_dossier'