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
|
2019-03-25 10:53:45 +01:00
|
|
|
= render partial: 'users/procedure_footer', locals: { procedure: procedure, dossier: @dossier }
|
2019-01-08 08:30:39 +01:00
|
|
|
- else
|
2019-03-25 10:53:45 +01:00
|
|
|
= render partial: 'users/dossiers/index_footer'
|
2019-01-07 12:17:11 +01:00
|
|
|
|
|
|
|
= render template: 'layouts/application'
|