Add textarea for 'other' feedback + styles.

This commit is contained in:
Paulo Reis 2016-07-22 12:20:26 +01:00
parent 95db6ba934
commit 54eadf3256
2 changed files with 16 additions and 2 deletions

View file

@ -178,6 +178,10 @@ div.full-size.pdf(ng-controller="PdfController")
value="other"
)
| Other:
textarea.form-control(
ng-show="negFeedbackReason === 'other'"
rows="2"
)
.clearfix
button.btn.btn-default.btn-xs.pull-right Submit

View file

@ -283,14 +283,24 @@
&-extra-feedback {
color: @gray-dark;
font-size: 0.8rem;
border-top: solid 1px @gray-light;
border-top: solid 1px @gray-lighter;
margin-top: 10px;
padding-top: 10px;
padding: 0 5px;
.radio {
margin-top: 5px;
margin-bottom: 5px;
}
textarea {
font-size: 0.8rem;
margin-bottom: 10px;
padding: 5px;
}
input[type="radio"] {
margin-top: 2px;
}
}
& + p {