Rename and delete form templates

`report-a-problem’ becomes `form` because it’s not just being used for
problems.

'ask-a-question' gets deleted because it’s not being used.
This commit is contained in:
Chris Hill-Scott
2020-03-24 15:30:43 +00:00
parent 17a3ee920c
commit 55e377baf6
3 changed files with 1 additions and 33 deletions

View File

@@ -144,7 +144,7 @@ def feedback(ticket_type):
form.feedback.data = get_prefilled_message()
return render_template(
'views/support/{}.html'.format(PROBLEM_TICKET_TYPE),
'views/support/form.html',
form=form,
is_problem=(ticket_type == PROBLEM_TICKET_TYPE),
)