Material theme form errors - fix red text on red bg
How to Test: 1. Go to Identity > Projects > Create Project modal 2. Don't fill out any fields and click submit button 3. Look at help-block *Now matches error styling on ng-Launch Instance wizard Change-Id: I79e0d9ed8acb86da8bf31c5010f90e79c763f983 Closes-Bug: #1555833
This commit is contained in:
parent
59c3d7bfe3
commit
33964da4f5
@ -11,7 +11,7 @@
|
|||||||
{{ field|add_bootstrap_class }}
|
{{ field|add_bootstrap_class }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for error in field.errors %}
|
{% for error in field.errors %}
|
||||||
<span class="help-block alert alert-danger {{ form.error_css_class }}">{{ error }}</span>
|
<span class="help-block {{ form.error_css_class }}">{{ error }}</span>
|
||||||
{% empty %}
|
{% empty %}
|
||||||
{% comment %}
|
{% comment %}
|
||||||
Escape help_text a second time here, to avoid an XSS issue in bootstrap.js.
|
Escape help_text a second time here, to avoid an XSS issue in bootstrap.js.
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
$brand-primary: #00897b;
|
$brand-primary: #00897b;
|
||||||
|
|
||||||
// If that blue isn't desired, then consider any of these other
|
// If that blue isn't desired, then consider any of these other
|
||||||
//colors that are part of the Matieral Design Spec Color Palette
|
//colors that are part of the Material Design Spec Color Palette
|
||||||
|
|
||||||
//$brand-primary: #627C7B;
|
//$brand-primary: #627C7B;
|
||||||
//$brand-primary: #455a64;
|
//$brand-primary: #455a64;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user