Scope the new demarche page to add space before the footer
This commit is contained in:
parent
118ba12d2b
commit
734efd0822
2 changed files with 21 additions and 16 deletions
|
@ -1,5 +1,9 @@
|
|||
@import "colors";
|
||||
|
||||
#demarches-index {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
margin-top: 30px;
|
||||
margin-bottom: 30px;
|
||||
|
|
|
@ -3,22 +3,23 @@
|
|||
- content_for :footer do
|
||||
= render partial: "new_user/dossiers/index_footer"
|
||||
|
||||
.container
|
||||
%h1.page-title Démarches
|
||||
#demarches-index
|
||||
.container
|
||||
%h1.page-title Démarches
|
||||
|
||||
- if @previous_demarches_still_active.present?
|
||||
%h2.list-header SUR LESQUELLES VOUS AVEZ DÉJÀ DÉPOSÉ UN DOSSIER
|
||||
%ul.demarche-links
|
||||
- @previous_demarches_still_active.each do |demarche|
|
||||
%li
|
||||
= link_to(demarche.libelle, commencer_url(procedure_path: demarche.path), class: "demarche-link")
|
||||
- if @previous_demarches_still_active.present?
|
||||
%h2.list-header SUR LESQUELLES VOUS AVEZ DÉJÀ DÉPOSÉ UN DOSSIER
|
||||
%ul.demarche-links
|
||||
- @previous_demarches_still_active.each do |demarche|
|
||||
%li
|
||||
= link_to(demarche.libelle, commencer_url(procedure_path: demarche.path), class: "demarche-link")
|
||||
|
||||
- if @popular_demarches.present?
|
||||
%h2.list-header LES PLUS POPULAIRES
|
||||
%ul.demarche-links
|
||||
- @popular_demarches.each do |demarche|
|
||||
%li
|
||||
= link_to(demarche.libelle, commencer_url(procedure_path: demarche.path), class: "demarche-link")
|
||||
- if @popular_demarches.present?
|
||||
%h2.list-header LES PLUS POPULAIRES
|
||||
%ul.demarche-links
|
||||
- @popular_demarches.each do |demarche|
|
||||
%li
|
||||
= link_to(demarche.libelle, commencer_url(procedure_path: demarche.path), class: "demarche-link")
|
||||
|
||||
%h2.list-header TOUTES LES DÉMARCHES
|
||||
= link_to("Voir l'intégralité des démarches disponibles", LISTE_DES_DEMARCHES_URL, class: "button")
|
||||
%h2.list-header TOUTES LES DÉMARCHES
|
||||
= link_to("Voir l'intégralité des démarches disponibles", LISTE_DES_DEMARCHES_URL, class: "button")
|
||||
|
|
Loading…
Reference in a new issue