Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
djnro
Commits
99f17f8c
Commit
99f17f8c
authored
Oct 15, 2015
by
Kroustouris Stauros
Browse files
contact error message
parent
0a077ebc
Changes
1
Hide whitespace changes
Inline
Side-by-side
djnro/templates/edumanage/institution_edit.html
View file @
99f17f8c
...
...
@@ -8,7 +8,7 @@
<h4>
{% tolocale institution LANGUAGE_CODE%} {% trans "Edit" %}
</h4>
<hr>
<div
class=
"col-md-
12
"
>
<div
class=
"col-md-
5
"
>
<form
method=
"POST"
>
{% csrf_token %}
{% if form.non_field_errors %}
...
...
@@ -52,8 +52,10 @@
<div
class=
"controls"
>
<div
class=
""
>
{{ form.contact }}
</div>
<button
class=
"btn btn-small btn-info"
id=
"add_contact"
><i
class=
"icon-plus-sign icon-white"
></i>
Add...
</button>
{% if form.contact.errors %}
<span
class=
"help-inline"
>
{{ form.ertype.contact|join:", " }}
</span>
{% endif %}
<span
class=
"help-block"
>
{{ form.contact.help_text }}
</span>
{% if form.errors.contact %}
<div
class=
"alert-danger"
>
{{ form.contact.errors|join:", " }}
</div>
{% endif %}
<span
class=
"help-block"
>
{{ form.contact.help_text }}
</span>
</div>
</div>
<div
class=
"form-group {% for err in urls_form.errors %}{% if err|length > 0 %}error{% endif %}{% endfor %}{% if urls_form.non_form_errors %}error{% endif %}"
>
...
...
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