demarches-normaliennes/app/views/dossiers/_dossier_show.html.haml

57 lines
2.1 KiB
Text
Raw Normal View History

= render partial: 'dossiers/attestation', locals: { dossier: @facade.dossier }
= render partial: 'dossiers/messagerie', locals: { dossier_facade: @facade }
= render partial: 'dossiers/motivation', locals: { dossier_facade: @facade }
- if @facade.procedure.individual_with_siret
.default-data-block
2017-04-06 15:32:05 +02:00
.row.show-block.infos
.header
.col-xs-8.title-no-expanse
.carret-right
INFORMATIONS DU DEMANDEUR
- if ["brouillon", "en_construction"].include?(@facade.dossier.state)
2017-04-06 19:10:25 +02:00
%a#add_siret.action{ href: users_dossier_add_siret_path(dossier_id: @facade.dossier.id) }
2017-04-06 15:32:05 +02:00
.col-lg-4.col-md-4.col-sm-4.col-xs-4.action
2017-04-06 16:33:53 +02:00
Renseigner un SIRET
- if @facade.etablissement.present?
.default-data-block
2017-04-06 15:32:05 +02:00
.row.show-block.infos#infos_entreprise
.header
.col-xs-12.title
.carret-right
.carret-down
INFORMATIONS DU DEMANDEUR
2017-04-06 15:32:05 +02:00
.body.display-block-on-print
= render partial: '/dossiers/infos_entreprise'
.default-data-block.default_visible
.row.show-block.infos#infos-dossiers
2017-04-06 15:32:05 +02:00
.header
.col-xs-10.title
.carret-right
.carret-down
CONSTRUCTION DU DOSSIER
= render partial: '/dossiers/edit_dossier'
2017-04-06 15:32:05 +02:00
.body.display-block-on-print
= render partial: '/dossiers/infos_dossier'
- if @facade.dossier.procedure.module_api_carto.use_api_carto
.default-data-block.default_visible.no-page-break-inside
2017-04-06 15:32:05 +02:00
.row.show-block#carto
.header
.col-xs-10.title
.carret-right
.carret-down
2016-12-20 14:48:09 +01:00
CARTOGRAPHIE
= render partial: '/dossiers/edit_carto'
2017-04-06 15:32:05 +02:00
.body.display-block-on-print
%input#json_latlngs{ type: 'hidden', value: "#{@facade.dossier.json_latlngs}", name: 'json_latlngs' }
%input#quartier_prioritaires{ type: 'hidden', value: "#{@facade.dossier.quartier_prioritaires.to_json}" }
%input#cadastres{ type: 'hidden', value: "#{@facade.dossier.cadastres.to_json}" }
2016-12-20 14:48:09 +01:00
2017-04-06 19:10:25 +02:00
= render partial: '/users/carte/map', locals: { dossier: @facade.dossier }
= render partial: 'users/carte/init_carto', locals: { dossier: @facade.dossier }