add before_answers to report process
This commit is contained in:
parent
c176d1efb4
commit
b27aed1343
2 changed files with 5 additions and 1 deletions
|
@ -20,6 +20,9 @@
|
|||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if before_answers %}
|
||||
<p>{{ before_answers }}</p>
|
||||
{% endif %}
|
||||
<div class="answers">
|
||||
{% for answer in answers %}
|
||||
<p><a class="button" href="{{ answer.url }}">{{ answer.text }}</a></p>
|
||||
|
|
|
@ -605,12 +605,13 @@ def report_missing_choose(request, coordinates):
|
|||
}
|
||||
for group in groups
|
||||
],
|
||||
'before_answers': _('Please carefully check if one of the options above applies to the missing location!'),
|
||||
'answers': [
|
||||
{
|
||||
'url': reverse('site.report_create', kwargs={"coordinates": coordinates}),
|
||||
'text': _('None of these fit'),
|
||||
},
|
||||
]
|
||||
],
|
||||
})
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue