Commit 1e5e3431 authored by Kaspar Vollenweider's avatar Kaspar Vollenweider

make some comment textarea fields higher

parent a1f0bdc8
...@@ -69,3 +69,7 @@ fieldset { ...@@ -69,3 +69,7 @@ fieldset {
.checkbox + .checkbox-line { .checkbox + .checkbox-line {
margin-top: 0; margin-top: 0;
} }
textarea.double-height {
min-height: 100px;
}
...@@ -81,5 +81,5 @@ fieldset ...@@ -81,5 +81,5 @@ fieldset
= f.input :competent_authority = f.input :competent_authority
= f.input :cost_unit, collection: Client.cost_unit_collection, include_blank: true = f.input :cost_unit, collection: Client.cost_unit_collection, include_blank: true
- if policy(Client).show_comments? - if policy(Client).show_comments?
= f.input :comments = f.input :comments, input_html: { class: 'double-height' }
= f.input :additional_comments = f.input :additional_comments, input_html: { class: 'double-height' }
...@@ -129,5 +129,5 @@ fieldset ...@@ -129,5 +129,5 @@ fieldset
- if current_user && policy(volunteer).show_comments? - if current_user && policy(volunteer).show_comments?
.col-xs-12.col-md-6 .col-xs-12.col-md-6
= f.input :comments = f.input :comments, input_html: { class: 'double-height' }
= f.input :additional_comments = f.input :additional_comments, input_html: { class: 'double-height' }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment