You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1004 B
37 lines
1004 B
{% if form.errors %}
|
|
{% for field in form %}
|
|
{% for error in field.errors %}
|
|
<div class="w3-panel w3-yellow">
|
|
<h3>Eingabefehler!</h3>
|
|
<p>{{ error|escape }}</p>
|
|
</div>
|
|
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% for error in form.non_field_errors %}
|
|
<div class="w3-panel w3-yellow">
|
|
<h3>Eingabefehler!</h3>
|
|
<p>{{ error|escape }}</p>
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
|
|
<form action="{% url 'kontakt' %}" method="Post">
|
|
{% csrf_token %}
|
|
{% for hidden_field in form.hidden_fields %}
|
|
{{ hidden_field }}
|
|
{% endfor %}
|
|
<div class="w3-row-padding" style="margin:0 -16px 8px -16px">
|
|
<div class="w3-half">
|
|
{{ form.name }}
|
|
</div>
|
|
<div class="w3-half">
|
|
{{ form.from_email }}
|
|
</div>
|
|
</div>
|
|
{{ form.message }}
|
|
<button class="w3-button w3-black w3-right w3-section" type="submit">
|
|
<i class="fa fa-paper-plane"></i> ABSENDEN
|
|
</button>
|
|
</form>
|
|
|