Remove prefilled message thing

This commit is contained in:
Chris Hill-Scott
2020-03-24 15:51:47 +00:00
parent 697803a10c
commit 8e055a4375
2 changed files with 0 additions and 61 deletions

View File

@@ -20,20 +20,6 @@ from app.models.feedback import (
)
def get_prefilled_message():
return {
'agreement': (
'Please can you tell me if theres an agreement in place '
'between GOV.UK Notify and my organisation?'
),
'letter-branding': (
'I would like my own logo on my letter templates.'
),
}.get(
request.args.get('body'), ''
)
@main.route('/support', methods=['GET', 'POST'])
def support():
@@ -147,9 +133,6 @@ def feedback(ticket_type):
),
))
if not form.feedback.data:
form.feedback.data = get_prefilled_message()
return render_template(
'views/support/form.html',
form=form,