shiftregister/shiftregister/app/templates/asta.html

32 lines
1001 B
HTML

{% extends "helper_base.html" %}
{% block title %}AStA-Mitgliedschaft{% endblock %}
{% block content %}
<a class="button is-primary mb-5" href="https://member.asta-bbg.de/?next=https%3A%2F%2Fhelfen.kntkt.de%2Fasta">AStA-Formular</a>
<form action="" method="post">
{% csrf_token %}
{% for field in form %}
<div class="field">
{% if field.widget_type == 'checkbox' %}
<div class="control">
<label class="checkbox" for="{{ field.id_for_label }}">{{ field }} {{ field.label }}</label>
</div>
{% else %}
<label class="label" for="{{ field.id_for_label }}">{{ field.label }}</label>
<div class="control">
{{ field }}
</div>
{% endif %}
{% for error in field.errors %}
<p class="help is-danger">{{ error }}</p>
{% endfor %}
{% if field.help_text %}
<p class="help">{{ field.help_text }}</p>
{% endif %}
</div>
{% endfor %}
<button class="button is-link" type="submit">Speichern</button>
</form>
{% endblock %}