Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2b196549
authored
Dec 17, 2013
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: remove unnecessary parts of template file
parent
47f5a6b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
22 deletions
+1
-22
circle/dashboard/templates/crispy_forms/numberfield.html
+1
-22
No files found.
circle/dashboard/templates/crispy_forms/numberfield.html
View file @
2b196549
{% load crispy_forms_field %}
{% if field.is_hidden %}
{{ field }}
{% else %}
<div
id=
"div_{{ field.auto_id }}"
class=
"ctrlHolder{% if wrapper_class %} {{ wrapper_class }}{% endif %}{% if field.errors and form_show_errors %} error{% endif %}{% if field|is_checkbox %} checkbox{% endif %}{% if field.css_classes %} {{ field.css_classes }}{% endif %}"
>
{% if form_show_errors %}
{% for error in field.errors %}
<p
id=
"error_{{ forloop.counter }}_{{ field.auto_id }}"
class=
"errorField"
>
{{ error }}
</p>
{% endfor %}
{% endif %}
{% if not field|is_checkbox %}
{% crispy_field field %}
{% endif %}
{% if field.help_text %}
<div
id=
"hint_{{ field.auto_id }}"
class=
"formHint"
>
{{ field.help_text|safe }}
</div>
{% endif %}
</div>
{% endif %}
{% crispy_field field %}
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