2018-09-13 16:13:54 +02:00
|
|
|
- content_for(:title, "Démarches")
|
|
|
|
|
2018-09-13 16:07:46 +02:00
|
|
|
- content_for :footer do
|
|
|
|
= render partial: "new_user/dossiers/index_footer"
|
|
|
|
|
2018-09-13 16:15:45 +02:00
|
|
|
#demarches-index
|
|
|
|
.container
|
|
|
|
%h1.page-title Démarches
|
2018-09-13 16:13:54 +02:00
|
|
|
|
2018-09-13 16:15:45 +02:00
|
|
|
- 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")
|
2018-09-10 20:36:57 +02:00
|
|
|
|
2018-09-13 16:15:45 +02:00
|
|
|
- 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")
|
2018-09-11 00:16:30 +02:00
|
|
|
|
2018-09-13 16:15:45 +02:00
|
|
|
%h2.list-header TOUTES LES DÉMARCHES
|
|
|
|
= link_to("Voir l'intégralité des démarches disponibles", LISTE_DES_DEMARCHES_URL, class: "button")
|