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
|
2019-03-25 10:53:45 +01:00
|
|
|
= render partial: "users/dossiers/index_footer"
|
2018-09-13 16:07:46 +02:00
|
|
|
|
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
|
2018-10-30 12:00:58 +01:00
|
|
|
= link_to(commencer_url(path: demarche.path), class: "demarche-link") do
|
2018-09-18 10:39:47 +02:00
|
|
|
= demarche.libelle
|
|
|
|
%br
|
|
|
|
.service-name
|
|
|
|
= demarche&.service&.nom
|
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
|
2018-10-30 12:00:58 +01:00
|
|
|
= link_to(commencer_url(path: demarche.path), class: "demarche-link") do
|
2018-09-18 10:39:47 +02:00
|
|
|
= demarche.libelle
|
|
|
|
%br
|
|
|
|
.service-name
|
|
|
|
= demarche&.service&.nom
|
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")
|