Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Valentin Samir
django-cas-server
Commits
64d3901e
Commit
64d3901e
authored
Nov 20, 2016
by
Valentin Samir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove spaceless in forms, fix css class errors
parent
b8094775
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGELOG.rst
CHANGELOG.rst
+1
-0
cas_server/templates/cas_server/form.html
cas_server/templates/cas_server/form.html
+2
-2
No files found.
CHANGELOG.rst
View file @
64d3901e
...
...
@@ -20,6 +20,7 @@ Fixed
-----
* Allow both unicode and bytes dotted string in utils.import_attr
* Fix some spelling and grammar on log messages. (thanks to Allie Micka)
* Fix froms css class error on success/error due to a scpaless block
Changed
-------
...
...
cas_server/templates/cas_server/form.html
View file @
64d3901e
...
...
@@ -6,13 +6,13 @@
</div>
{% endfor %}
{% for field in form %}{% if not field|is_hidden %}
<div
class=
"form-group
{% spaceless %}
<div
class=
"form-group
{% if not form.non_field_errors %}
{% if field.errors %} has-error
{% elif form.cleaned_data %} has-success
{% endif %}
{% endif %}"
{%
endspaceless
%}
>
{% spaceless %}
>
{% spaceless %}
{% if field|is_checkbox %}
<div
class=
"checkbox"
><label
for=
"{{field.auto_id}}"
>
{{field}}{{field.label}}
</label></div>
{% else %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment