forked from beba/foerderbarometer
renamed blocks to applications
This commit is contained in:
parent
d527a99a6d
commit
a55b5f26d9
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "input/base.html" %}
|
||||
{% extends 'input/base.html' %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
<tr>
|
||||
<th class="col-request">Was möchtest du beantragen?</th>
|
||||
<td>
|
||||
{% for title, services in blocks %}
|
||||
{% for title, services in applications %}
|
||||
<strong>{{ title }}</strong>
|
||||
<ul>
|
||||
{% for service in services %}
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ SERVICES = [
|
|||
ApplicationType(TYPE_VIS, 'visitenkarten', BusinessCardForm, 'E-Mail-Adressen_und_Visitenkarten#Visitenkarten'),
|
||||
]
|
||||
|
||||
BLOCKS = [
|
||||
APPLICATIONS = [
|
||||
('Projektförderung', PROJECT_FUNDING),
|
||||
('Serviceleistungen', SERVICES),
|
||||
]
|
||||
|
|
@ -163,7 +163,7 @@ def index(request):
|
|||
|
||||
class ApplicationStartView(TemplateView):
|
||||
template_name = 'input/forms/extern.html'
|
||||
extra_context = {'blocks': BLOCKS}
|
||||
extra_context = {'applications': APPLICATIONS}
|
||||
|
||||
def post(self, request, *args, **kwargs):
|
||||
if url := request.POST.get('url'):
|
||||
|
|
|
|||
Loading…
Reference in New Issue