NewDesign Form: apply design to textarea

This commit is contained in:
Simon Lehericey 2017-07-20 09:54:05 +02:00 committed by Mathieu Magnin
parent 9753da8fdd
commit 2a8b8d4a01
2 changed files with 3 additions and 2 deletions

View file

@ -18,7 +18,8 @@
input[type=text], input[type=text],
input[type=email], input[type=email],
input[type=password] { input[type=password],
textarea {
display: block; display: block;
width: 100%; width: 100%;
border-radius: 4px; border-radius: 4px;

View file

@ -5,7 +5,7 @@
%form.form %form.form
%label Nom %label Nom
%input{ type: "text" } %input{ type: "text" }
%input{ type: "text", placeholder: "Prénom: Ivan" } %textarea{ placeholder: "Description de votre projet" }
%label Mot de passe %label Mot de passe
%input{ type: "password", value: "12345678" } %input{ type: "password", value: "12345678" }
%input.button{ type: "submit", value: "Envoyer" } %input.button{ type: "submit", value: "Envoyer" }