Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
49bfe47
commit eaeb425
Showing
11 changed files
with
234 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from __future__ import unicode_literals | ||
|
||
from django import apps | ||
|
||
|
||
class AppConfig(apps.AppConfig): | ||
name = 'passreset' | ||
verbose_name = 'Passowrd Reset' |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% load formhelper %} | ||
{% if form.errors %} | ||
<ul class="errorlist{% if non_field_erros %} non-field-errors{% endif %}{% if field_errors %} field-errors{% endif %}"> | ||
{% for err in non_field_errors %} | ||
<li class="non-field">{{ err }}</li> | ||
{% endfor %} | ||
{% if suppress_is_required and has_is_required_error %} | ||
<li class="required-fields">Please complete all required fields.</li> | ||
{% endif %} | ||
{% for field, error in field_errors %} | ||
{% if field in required_field_errors %} | ||
<li class="field required">{{ field.label }} is required</li> | ||
{% else %} | ||
<li class="field">{{ error }}</li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...mplates/formhelper/includes/form_row.html → ...lper/templates/formhelper/form_group.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{% load formhelper %} | ||
<div class="form-row"> | ||
<div class="form-group"> | ||
{% for field in fields %} | ||
{% form_field form field %} | ||
{% include "formhelper/field.html" %} | ||
{% endfor %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...tes/formhelper/includes/formset_form.html → ...er/templates/formhelper/formset_form.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{% load formhelper %} | ||
{# this template is intended for use within formhelper/includes/formset.html #} | ||
{# this template is intended for use within formhelper/formset.html #} | ||
<div class="{{ formset.prefix }}-form{% if form|is_empty_form %} empty-form{% endif %}{% if forloop.first %} first{% endif %}" id="{{ formset.prefix }}-{{ forloop.counter0 }}"{% if form|is_empty_form %} style="display: none"{% endif %}> | ||
<fieldset> | ||
<legend> | ||
<span class="counter">{{ formset|formset_verbose_name|title }} #{{ forloop.counter }}</span> | ||
</legend> | ||
{% include formset_form_tpl|default:"formhelper/includes/form.html" %} | ||
{% include formset_form_tpl|default:"formhelper/form.html" %} | ||
</fieldset> | ||
</div> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.