From ded9c0eaf683350e9a15b8b6028b7f420976f686 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Sun, 23 Sep 2018 21:47:54 +0200 Subject: [PATCH] Add a separator between the explanation and form --- app/assets/stylesheets/new_design/demande.scss | 9 +++++++++ app/views/demandes/new.html.haml | 2 ++ 2 files changed, 11 insertions(+) diff --git a/app/assets/stylesheets/new_design/demande.scss b/app/assets/stylesheets/new_design/demande.scss index 9c92dccc9..df4fd10c4 100644 --- a/app/assets/stylesheets/new_design/demande.scss +++ b/app/assets/stylesheets/new_design/demande.scss @@ -1,3 +1,4 @@ +@import "colors"; @import "constants"; .demande { @@ -15,4 +16,12 @@ b { font-weight: bold; } + + hr { + border: none; + height: 1px; + background-color: $grey; + margin-top: 2 * $default-padding; + margin-bottom: 2 * $default-padding; + } } diff --git a/app/views/demandes/new.html.haml b/app/views/demandes/new.html.haml index 21d73b845..25ff04b96 100644 --- a/app/views/demandes/new.html.haml +++ b/app/views/demandes/new.html.haml @@ -10,6 +10,8 @@ %p.intro Pour obtenir un compte administrateur sur demarches-simplifiees.fr, veuillez remplir le formulaire ci-dessous et un membre de notre équipe vous contactera dès que possible. %p.intro Tous les champs sont obligatoires. + %hr + = form_tag({ controller: 'demandes', action: 'create' }, class: 'form') do = label_tag :organization_name do