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:
Cindy Lu 2016-03-10 15:33:27 -08:00
parent 59c3d7bfe3
commit 33964da4f5
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
{{ field|add_bootstrap_class }}
{% endif %}
{% 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 %}
{% comment %}
Escape help_text a second time here, to avoid an XSS issue in bootstrap.js.

View File

@ -5,7 +5,7 @@
$brand-primary: #00897b;
// 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: #455a64;