Add a message to the démarches library page if the admin has 0 demarches

This commit is contained in:
Chaïb Martinez 2018-12-28 18:23:53 +01:00 committed by gregoirenovel
parent c19b1bb6cf
commit e88a3f8dbf

View file

@ -1,3 +1,7 @@
- if current_administrateur.procedures.brouillons.count == 0
%h4{ style: 'padding: 20px; margin: 20px !important;' }
Bienvenue, vous allez pouvoir créer une première démarche de test. Celle-ci sera visible uniquement par vous et ne sera publiée nulle part, alors pas de crainte à avoir.
.row{ style: 'padding: 20px; margin: 20px !important;' }
%a#from-scratch{ href: new_admin_procedure_path, class: 'btn-lg btn-primary' }
Créer une nouvelle démarche de zéro