standardize form title

This commit is contained in:
Mathieu Magnin 2017-06-20 10:09:19 +02:00
parent f74462d826
commit a69915d8b5
5 changed files with 9 additions and 14 deletions

View file

@ -32,12 +32,6 @@
.right {
background-color: $light-grey;
h1 {
font-size: 36px;
font-weight: bold;
margin-bottom: 60px;
}
form {
max-width: 420px;
}

View file

@ -1,6 +1,11 @@
@import "colors";
.form {
h1 {
text-align: center;
margin-bottom: 20px;
}
label,
input {
font-size: 14px;

View file

@ -86,10 +86,6 @@ $login-padding: 60px;
.login-form {
font-size: 14px;
h1 {
margin-bottom: 20px;
}
.reset-password {
margin-top: 8px;
}

View file

@ -3,9 +3,9 @@
%p.description= @dossier.procedure.libelle
%p.dossier Dossier nº #{@dossier.id}
.right
%h1 Créez-vous un compte
= form_for(Gestionnaire.new, url: { controller: "backoffice/avis", action: :create_gestionnaire }, method: :post, html: { class: "form" }) do |f|
%h1 Créez-vous un compte
= f.label :email, "Email"
= f.email_field :email, value: @email, disabled: true

View file

@ -23,9 +23,9 @@
= h @dossier.procedure.description.html_safe
.login-form
%h1.center Connectez-vous
= form_for @user, url: user_session_path, html: { class: "form" } do |f|
%h1 Connectez-vous
= f.label :email, "Email"
= f.text_field :email