mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-16 19:30:13 -04:00
Unfill current placeholder if revisiting page
If we don’t do this then you can’t see where in the composed message the value for your placeholder will appear.
This commit is contained in:
@@ -240,6 +240,7 @@ def send_test_step(service_id, template_id, step_index):
|
||||
)
|
||||
|
||||
template.values = get_normalised_send_test_values_from_session()
|
||||
template.values[current_placeholder] = None
|
||||
|
||||
return render_template(
|
||||
'views/send-test.html',
|
||||
|
||||
Reference in New Issue
Block a user