- 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 = yield - content_for :footer do - if procedure = render partial: 'users/procedure_footer', locals: { procedure: procedure, dossier: @dossier } - else = render partial: 'application/footer' = render template: 'layouts/application'