Merge pull request #1113 from sgmap/messagerie-style

Improve the style of the messagerie form
This commit is contained in:
gregoirenovel 2017-12-15 14:54:48 +01:00 committed by GitHub
commit 4adbb09e9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -52,4 +52,8 @@
.attachment-link {
margin-top: $default-spacer;
}
.commentaire-textarea {
margin-bottom: $default-spacer;
}
}

View file

@ -1,5 +1,5 @@
= form_for(commentaire, url: form_url, html: { class: 'form' }) do |f|
= f.text_area :body, rows: 5, placeholder: 'Répondre ici', required: true
= f.text_area :body, rows: 5, placeholder: 'Répondre ici', required: true, class: 'commentaire-textarea'
.flex.justify-between
%div
= f.file_field :file, id: :file, accept: commentaire.file.accept_extension_list