2019-01-08 08:30:39 +01:00
|
|
|
- procedure = @procedure || @dossier&.procedure || nil
|
|
|
|
|
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:30:39 +01:00
|
|
|
- if procedure
|
|
|
|
= render partial: 'layouts/commencer/procedure_description', locals: { procedure: procedure }
|
2019-01-08 08:20:49 +01:00
|
|
|
- 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:30:39 +01:00
|
|
|
- if procedure
|
|
|
|
= render partial: 'new_user/procedure_footer', locals: { procedure: procedure, dossier: @dossier }
|
|
|
|
- else
|
|
|
|
= render partial: 'new_user/dossiers/index_footer'
|
2019-01-07 12:17:11 +01:00
|
|
|
|
|
|
|
= render template: 'layouts/application'
|