mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Use the same template for problems and questions
This commit is contained in:
@@ -52,7 +52,7 @@ def support():
|
||||
else:
|
||||
return redirect(url_for(
|
||||
'.feedback',
|
||||
ticket_type=QUESTION_TICKET_TYPE,
|
||||
ticket_type=PROBLEM_TICKET_TYPE,
|
||||
))
|
||||
|
||||
return render_template('views/support/index.html', form=form)
|
||||
@@ -144,9 +144,9 @@ def feedback(ticket_type):
|
||||
form.feedback.data = get_prefilled_message()
|
||||
|
||||
return render_template(
|
||||
'views/support/{}.html'.format(ticket_type),
|
||||
'views/support/{}.html'.format(PROBLEM_TICKET_TYPE),
|
||||
form=form,
|
||||
ticket_type=ticket_type,
|
||||
is_problem=(ticket_type == PROBLEM_TICKET_TYPE),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user