Commit 29746291a1f6b1f835f8a6f887644d6f35cbdce8
1 parent
d5b328dc
Exists in
master
and in
5 other branches
error message on template #208
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
core/templates/register_user.html
| ... | ... | @@ -39,7 +39,7 @@ |
| 39 | 39 | <legend>{% trans 'User Register' %}</legend> |
| 40 | 40 | {% for field in form %} |
| 41 | 41 | <div class="row"> |
| 42 | - <div class="form-group is-empy{% if form.has_error %} has-error {% endif %} is-fileinput"> | |
| 42 | + <div class="form-group is-empty {% if form.has_error %} has-error {% endif %} is-fileinput"> | |
| 43 | 43 | {% if field.field.required %} |
| 44 | 44 | <label for="{{ field.auto_id }}" class="col-md-2 control-label">{{ field.label }}<span>*</span></label> |
| 45 | 45 | {% else %} |
| ... | ... | @@ -72,7 +72,7 @@ |
| 72 | 72 | </div> |
| 73 | 73 | |
| 74 | 74 | {% if field.errors %} |
| 75 | - <div class="alert alert-danger alert-dismissible col-md-offset-4 col-md-8" role="alert"> | |
| 75 | + <div class="alert alert-danger alert-dismissible col-md-offset-1 col-md-10 col-sm-offset-1 col-sm-10 col-xs-offset-1 col-xs-10" role="alert"> | |
| 76 | 76 | <button type="button" class="close" data-dismiss="alert" aria-label="Close"> |
| 77 | 77 | <span aria-hidden="true">×</span> |
| 78 | 78 | </button> |
| ... | ... | @@ -90,7 +90,7 @@ |
| 90 | 90 | <input type="submit" value="{% trans 'Save' %}" class="btn btn-sm btn-success" /> |
| 91 | 91 | </div> |
| 92 | 92 | <div class=" col-md-4 col-sm-4 col-xs-4"> |
| 93 | - <a href="{% url 'core:home' %}" class="btn btn-sm btn-success" >{% trans 'Cancel' %}</a> | |
| 93 | + <a href="{% url 'core:home' %}" class=" btn btn-sm btn-success" >{% trans 'Cancel' %}</a> | |
| 94 | 94 | </div> |
| 95 | 95 | |
| 96 | 96 | </form> | ... | ... |