Setting the style for the flash message on feedback page

Was using the default of dangerous - which it shouldn't. Obvs.
This commit is contained in:
Pete Herlihy
2016-05-20 11:00:33 +01:00
parent 19761331e3
commit 4e2cc0250a

View File

@@ -35,7 +35,7 @@ def feedback():
resp.json())
)
abort(500, "Feedback submission failed")
flash("Your feedback has been submitted")
flash("Your feedback has been submitted", 'default_with_tick')
return redirect(url_for('.feedback'))
return render_template('views/feedback.html', form=form)