foerderbarometer/input/templates/input/forms/extern.html

45 lines
1.5 KiB
HTML
Executable File

{% extends 'input/base.html' %}
{% load i18n %}
{% block head_extra %}
<title>Was möchtest du beantragen?</title>
{% endblock %}
{% block content %}
<form class="page-centered" method="post">
{% csrf_token %}
<table class="wm-table start">
<tbody>
<tr>
<th class="col-request">Was möchtest du beantragen?</th>
<td>
{% for title, services in applications %}
<strong>{{ title }}</strong>
<ul>
{% for service in services %}
<li>
<label>
<input type="radio" name="url" value="{% url 'extern' type=service.path %}" />
<span>{{ service.label|striptags }}</span>
</label>
<span>(<a href="{{ service.url }}" target="_blank">mehr erfahren</a>)</span>
</li>
{% endfor %}
</ul>
{% endfor %}
</td>
</tr>
</tbody>
<tbody>
<tr>
<td colspan="2">
<button type="submit">Beantragen</button>
</td>
</tr>
</tbody>
</table>
</form>
{% endblock %}