20 lines
701 B
Text
20 lines
701 B
Text
- procedure = @procedure || @dossier&.procedure || nil
|
|
|
|
- content_for :content do
|
|
.fr-container.fr-mt-5w
|
|
.fr-grid-row
|
|
.fr-col-12.fr-col-md-8.fr-col-offset-md-2
|
|
.procedure-preview.fr-mb-5w
|
|
- if procedure
|
|
= render partial: 'shared/procedure_description', locals: { procedure: procedure, full_screen_display: true }
|
|
- else
|
|
= render partial: 'layouts/commencer/no_procedure'
|
|
= yield
|
|
|
|
- content_for :footer do
|
|
- if procedure
|
|
= render partial: 'users/procedure_footer', locals: { procedure: procedure, dossier: @dossier }
|
|
- else
|
|
= render partial: 'users/dossiers/index_footer'
|
|
|
|
= render template: 'layouts/application'
|