2016-06-06 17:40:32 +02:00
|
|
|
.container#description_page
|
2016-08-24 12:14:25 +02:00
|
|
|
- unless @dossier.procedure.lien_notice.blank?
|
2016-12-05 19:30:58 +01:00
|
|
|
#lien_notice_panel.row{style:'width: 280px; position: fixed; background-color: white; right: 5%; top: 80px; z-index: 200'}
|
2016-08-24 12:14:25 +02:00
|
|
|
.panel.panel-info{style:'margin-bottom:0'}
|
|
|
|
.panel-body.center
|
|
|
|
.row
|
|
|
|
.col-md-1.col-lg-1
|
|
|
|
.fa.fa-info-circle.text-info{style:'font-size: 2em; margin-top: 20%'}
|
|
|
|
.col-md-10.col-lg-10{style:'padding-right: 0px'}
|
|
|
|
%b
|
|
|
|
=link_to 'Accéder au guide', @dossier.procedure.lien_notice, {target: '_blank'}
|
|
|
|
pour remplir pour votre dossier
|
|
|
|
|
|
|
|
%h2.text-info
|
2016-06-06 17:40:32 +02:00
|
|
|
= @dossier.procedure.libelle
|
2016-08-24 12:14:25 +02:00
|
|
|
|
2016-06-06 17:40:32 +02:00
|
|
|
-#TODO use form_for
|
|
|
|
= form_tag(url_for({controller: 'users/description', action: :create, dossier_id: @dossier.id}), class: 'form-inline', method: 'POST', multipart: true) do
|
|
|
|
|
|
|
|
#liste_champs
|
|
|
|
-unless @champs.nil?
|
2016-12-07 15:44:28 +01:00
|
|
|
=render partial: 'users/description/champs', locals:{private: false}
|
2016-06-06 17:40:32 +02:00
|
|
|
|
|
|
|
-if !@procedure.lien_demarche.blank? || @procedure.cerfa_flag || @dossier.types_de_piece_justificative.size > 0
|
|
|
|
%br
|
|
|
|
%h3 Documents administratifs
|
|
|
|
|
|
|
|
-unless @procedure.lien_demarche.blank?
|
|
|
|
%p
|
2016-08-24 11:40:53 +02:00
|
|
|
Récupérer le formulaire / CERFA vierge pour mon dossier :
|
|
|
|
%a{style:'font-size:0.9em; padding-left:3px', id: 'lien_cerfa' ,href: "#{@procedure.lien_demarche}", :target => '_blank'} Télécharger
|
2016-06-06 17:40:32 +02:00
|
|
|
|
|
|
|
|
|
|
|
%br
|
|
|
|
//TODO a refactorer
|
|
|
|
= render partial: 'users/description/pieces_justificatives'
|
|
|
|
|
2016-11-03 16:46:26 +01:00
|
|
|
- unless Features.opensimplif
|
|
|
|
#state_description.row{style:'width: 50%; margin-left:20px'}
|
|
|
|
.panel.panel-info
|
|
|
|
.panel-body.center
|
|
|
|
.row
|
|
|
|
.col-md-1.col-lg-1
|
|
|
|
.fa.fa-info-circle.text-info{style:'font-size: 2em; margin-top: 20%'}
|
|
|
|
.col-md-11.col-lg-11
|
|
|
|
Les documents administratifs ne sont pas indispensables afin d'initier votre dossier.
|
|
|
|
Vous pourrez dans tous les cas les compléter plus tard si vous ne les possédez pas de suite.
|
2016-08-26 09:17:31 +02:00
|
|
|
|
|
|
|
|
2016-06-06 17:40:32 +02:00
|
|
|
- if user_signed_in?
|
|
|
|
%div{style: 'text-align:right'}
|
|
|
|
%h6 Tous les champs portant un * sont obligatoires.
|
|
|
|
|
|
|
|
-if !@dossier.draft?
|
|
|
|
=render partial: '/layouts/modifications_terminees'
|
|
|
|
-else
|
2016-10-05 16:45:51 +02:00
|
|
|
= submit_tag 'Soumettre mon dossier', id: 'suivant', name: 'submit[nouveaux]', class: %w(btn btn btn-success), style: 'float:right', data: { disable_with: 'Soumettre votre dossier', submit: true}
|
|
|
|
= submit_tag 'Enregistrer un brouillon', id: 'brouillon', name: 'submit[brouillon]', class: %w(btn btn-xs btn-default), style: 'float:right; margin-right: 10px; margin-top: 6px', data: {disable_with: 'Enregistrer un brouillon', submit: true}
|
2016-06-06 17:40:32 +02:00
|
|
|
|
|
|
|
%br
|
|
|
|
%br
|