From 453d45bf36f6ba4baa9c4ac6e84e7cc38344515f Mon Sep 17 00:00:00 2001 From: luis cielak Date: Thu, 16 Aug 2018 10:53:59 -0400 Subject: [PATCH] Add fieldset background to TO fields --- styles/components/_forms.scss | 8 ++++ .../requests/financial_verification.html | 45 ++++++++++--------- 2 files changed, 32 insertions(+), 21 deletions(-) diff --git a/styles/components/_forms.scss b/styles/components/_forms.scss index 83ab5b83..b2ca60f0 100644 --- a/styles/components/_forms.scss +++ b/styles/components/_forms.scss @@ -73,5 +73,13 @@ } } } + + &--warning { + @include alert-level('warning'); + } + + &--error { + @include alert-level('error'); + } } diff --git a/templates/requests/financial_verification.html b/templates/requests/financial_verification.html index cec36d27..dd12ea01 100644 --- a/templates/requests/financial_verification.html +++ b/templates/requests/financial_verification.html @@ -105,42 +105,45 @@ level='warning' ) }} - {{ OptionsInput( - f.funding_type +
+ {{ OptionsInput( + f.funding_type ) }} - {{ TextInput( - f.funding_type_other + {{ TextInput( + f.funding_type_other ) }} - {{ TextInput( - f.clin_0001,placeholder="50,000", - validation='integer' + {{ TextInput( + f.clin_0001,placeholder="50,000", + validation='integer' ) }} - {{ TextInput( - f.clin_0003,placeholder="13,000", - validation='integer' + {{ TextInput( + f.clin_0003,placeholder="13,000", + validation='integer' ) }} - {{ TextInput( - f.clin_1001,placeholder="30,000", - validation='integer' + {{ TextInput( + f.clin_1001,placeholder="30,000", + validation='integer' ) }} - {{ TextInput( - f.clin_1003,placeholder="7,000", - validation='integer' + {{ TextInput( + f.clin_1003,placeholder="7,000", + validation='integer' ) }} - {{ TextInput( - f.clin_2001,placeholder="30,000", - validation='integer' + {{ TextInput( + f.clin_2001,placeholder="30,000", + validation='integer' ) }} - {{ TextInput(f.clin_2003,placeholder="7,000", - validation='integer' + {{ TextInput( + f.clin_2003,placeholder="7,000", + validation='integer' ) }} +
{% endautoescape %}