yt-links aktualisiert

This commit is contained in:
holger.trampe 2020-10-25 23:18:24 +01:00
parent 51ffbc410e
commit e9f3562047
2 changed files with 2 additions and 33 deletions

View File

@ -16,38 +16,7 @@
</div>
{% endfor %}
{% 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}}&nbsp;&nbsp;<a style="" href="{% url 'datenschutzda' %}" target="_blank">AGB's*</a><br />
{% elif field.name == 'av' %}
{{field}}&nbsp;&nbsp;<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>
<script type="text/javascript">

View File

@ -379,7 +379,7 @@ def registerNewAgency(request):
return render (request, 'users/register.html',context)
else:
context = {
"form" : NewAgencyForm()
#"form" : NewAgencyForm()
}
if requst.user.is_authenticated():
context['profile'] = user.profile