yt-links aktualisiert
This commit is contained in:
parent
51ffbc410e
commit
e9f3562047
|
|
@ -16,38 +16,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<form method="POST">
|
|
||||||
{% csrf_token %}
|
|
||||||
<fieldset class="form-group" >
|
|
||||||
<legend class="border-bottom mb-4" style="text-align: center;">
|
|
||||||
<i class="fas fa-laptop"></i>
|
|
||||||
<h3>Registrieren Sie Ihre Agentur</h3>
|
|
||||||
</legend>
|
|
||||||
{% for field in form %}
|
|
||||||
|
|
||||||
{% if field.name != 'captcha' %}
|
|
||||||
{{field.field_name}}
|
|
||||||
{% if field.name == 'agb' %}
|
|
||||||
{{field}} <a style="" href="{% url 'datenschutzda' %}" target="_blank">AGB's*</a><br />
|
|
||||||
{% elif field.name == 'av' %}
|
|
||||||
{{field}} <a style="" href="{% url 'impressumda' %}" target="_blank">Auftragsverarbeitung*</a>
|
|
||||||
{% else %}
|
|
||||||
{{field|as_crispy_field}}
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
{{form.captcha|as_crispy_field}}
|
|
||||||
<!--<div class="form-check">
|
|
||||||
<input class="form-check-input" type="checkbox" value="" id="isvve" onclick="javascript:changeVVE()">
|
|
||||||
<label class="form-check-label" for="isvve">
|
|
||||||
VVE-Mitglied
|
|
||||||
</label>
|
|
||||||
</div>-->
|
|
||||||
</fieldset>
|
|
||||||
<div class="form-group">
|
|
||||||
<button type="submit" class="btn btn-primary btn-lg" style="float: right;">Registrieren</button>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
||||||
|
|
@ -379,7 +379,7 @@ def registerNewAgency(request):
|
||||||
return render (request, 'users/register.html',context)
|
return render (request, 'users/register.html',context)
|
||||||
else:
|
else:
|
||||||
context = {
|
context = {
|
||||||
"form" : NewAgencyForm()
|
#"form" : NewAgencyForm()
|
||||||
}
|
}
|
||||||
if requst.user.is_authenticated():
|
if requst.user.is_authenticated():
|
||||||
context['profile'] = user.profile
|
context['profile'] = user.profile
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue