diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2020-09-05 17:04:00 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2020-09-05 17:04:00 +0200 |
commit | a40dd5994695bc4694a2b0d15fcf68ebe0ed1151 (patch) | |
tree | 932b8d4cdcabe9b7b1184aed6bbcc71cda1f3b3a | |
parent | better signup form errors (diff) | |
download | scout-subs-a40dd5994695bc4694a2b0d15fcf68ebe0ed1151.tar.gz scout-subs-a40dd5994695bc4694a2b0d15fcf68ebe0ed1151.zip |
remove default hide error fields
Diffstat (limited to '')
-rw-r--r-- | accounts/templates/accounts/signup.html | 6 | ||||
-rw-r--r-- | templates/registration/base_simple.html | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/accounts/templates/accounts/signup.html b/accounts/templates/accounts/signup.html index 36ea568..8d2cb44 100644 --- a/accounts/templates/accounts/signup.html +++ b/accounts/templates/accounts/signup.html @@ -2,6 +2,12 @@ {% block title %}Iscriviti{% endblock %} +{% block style %} + ul.errorlist { + display:none; + } +{% endblock %} + {% block content %} <div class="row"> <div class="col l6 offset-l3 m8 offset-m2 s12"> diff --git a/templates/registration/base_simple.html b/templates/registration/base_simple.html index 7f4b44c..667a62e 100644 --- a/templates/registration/base_simple.html +++ b/templates/registration/base_simple.html @@ -8,9 +8,8 @@ <link rel="stylesheet" type="text/css" href="{% static 'material_icons.css' %}"> <link rel="stylesheet" type="text/css" href="{% static 'materialize.min.css' %}"> <style> - ul.errorlist { - display:none; - } + {% block style %} + {% endblock %} input[type=text]:focus + label, .materialize-textarea:focus:not([readonly]) + label { color: {{hexcolor}} !important; |