2019-01-07 12:17:11 +01:00
|
|
|
- content_for :content do
|
2019-01-07 15:40:07 +01:00
|
|
|
.two-columns.procedure-context
|
2019-01-07 12:17:11 +01:00
|
|
|
.columns-container
|
|
|
|
|
2019-01-07 15:40:07 +01:00
|
|
|
.column.procedure-preview
|
2019-01-08 08:20:49 +01:00
|
|
|
- if @dossier
|
|
|
|
= render partial: 'layouts/commencer/procedure_description', locals: { procedure: @dossier.procedure }
|
|
|
|
- else
|
|
|
|
= render partial: 'layouts/commencer/no_procedure'
|
2019-01-07 12:17:11 +01:00
|
|
|
|
2019-01-07 15:40:07 +01:00
|
|
|
.column.procedure-context-content
|
2019-01-07 12:17:11 +01:00
|
|
|
= yield
|
|
|
|
|
|
|
|
- content_for :footer do
|
2019-01-08 08:20:49 +01:00
|
|
|
/ TODO: display the procedure footer even if there is no dossier yet
|
|
|
|
- if @dossier
|
2018-12-17 16:03:11 +01:00
|
|
|
= render partial: 'new_user/procedure_footer', locals: { procedure: @dossier.procedure, dossier: @dossier }
|
2019-01-07 12:17:11 +01:00
|
|
|
|
|
|
|
= render template: 'layouts/application'
|