68 lines
2.1 KiB
HTML
68 lines
2.1 KiB
HTML
<!-- Base-Template einbinden -->
|
|
{% extends "users/publicbase.html" %}
|
|
<!-- CRISPY -->
|
|
{% load crispy_forms_tags %}
|
|
<!-- BLOCK NAME START -->
|
|
{% block content %}
|
|
<div class="card mx-auto" id="logincard">
|
|
<div class="card-body">
|
|
{% if messages %}
|
|
{% for message in messages %}
|
|
<div class="alert alert-{{ message.tags }} alert-dismissible fade show " role="alert" id="message_{{forloop.counter}}">
|
|
{{ message }}
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close" onclick='javascript:$("#message_{{forloop.counter}}").fadeOut()'>
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</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}} <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-success">Registrieren</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/*$(document).ready(function(){
|
|
$("#div_id_vve").hide();
|
|
});
|
|
|
|
function changeVVE(){
|
|
var checkBox = document.getElementById("isvve");
|
|
if (checkBox.checked == true)
|
|
{
|
|
$("#div_id_vve").show();
|
|
} else {
|
|
$("#div_id_vve").hide();
|
|
}
|
|
}*/
|
|
</script>
|
|
{% endblock content %} |