mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 08:16:51 -04:00
Remove prefilled message thing
This commit is contained in:
@@ -20,20 +20,6 @@ from app.models.feedback import (
|
||||
)
|
||||
|
||||
|
||||
def get_prefilled_message():
|
||||
return {
|
||||
'agreement': (
|
||||
'Please can you tell me if there’s 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,
|
||||
|
||||
Reference in New Issue
Block a user