dodata provera za email i orgnaziation name

This commit is contained in:
2025-05-06 18:59:29 +02:00
parent 72aca464a9
commit 87ddcd7e28
6 changed files with 85 additions and 9 deletions

View File

@@ -11,7 +11,16 @@
<form method="post">
{% if form.errors %}
<div class="alert alert-danger">
{{ form.errors }}
<ul class="mb-0">
{% for field in form %}
{% for error in field.errors %}
<li><strong>{{ field.label }}:</strong> {{ error }}</li>
{% endfor %}
{% endfor %}
{% for error in form.non_field_errors %}
<li>{{ error }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% csrf_token %}
@@ -27,6 +36,7 @@
<small class="form-text text-muted py-3">
Enter the organization name and your email address. Both fields are required to continue.
</small>
<div id="org-email-error" class="text-danger py-2"></div>
</div>
<!-- Employee Headcount -->