demarches-normaliennes/app/views/layouts/procedure_context.html.haml

23 lines
677 B
Text
Raw Normal View History

- procedure = @procedure || @dossier&.procedure || nil
- content_for :content do
.two-columns.procedure-context
.columns-container
.column.procedure-preview
- if procedure
= render partial: 'layouts/commencer/procedure_description', locals: { procedure: procedure }
- else
= render partial: 'layouts/commencer/no_procedure'
.column.procedure-context-content
= yield
- content_for :footer do
- if procedure
2019-03-25 10:53:45 +01:00
= render partial: 'users/procedure_footer', locals: { procedure: procedure, dossier: @dossier }
- else
2019-03-25 10:53:45 +01:00
= render partial: 'users/dossiers/index_footer'
= render template: 'layouts/application'