diff --git a/app/main/views/send.py b/app/main/views/send.py index e3b3ed0a9..418446f52 100644 --- a/app/main/views/send.py +++ b/app/main/views/send.py @@ -481,6 +481,7 @@ def send_one_off_step(service_id, template_id, step_index): ), template=template, form=form, + current_placeholder=current_placeholder, skip_link=get_skip_link(step_index, template), back_link=back_link, link_to_upload=( diff --git a/app/templates/views/send-test.html b/app/templates/views/send-test.html index 6ddb2a140..7e8616793 100644 --- a/app/templates/views/send-test.html +++ b/app/templates/views/send-test.html @@ -40,12 +40,14 @@ ) %}
{% set is_phone_number = form.placeholder_value.label.text == "phone number" %} - {% set hint_text = "Include area code, e.g. 202-555-0191" if is_phone_number else None %} + {% set label_text = "Country code and phone number" if current_placeholder == "phone number" else current_placeholder.title() %} + {% set hint_text = "For example: +18885551234" if is_phone_number else None %} {% set extra_class = "extra-tracking" if is_phone_number else "" %}
{{ textbox( form.placeholder_value, + label=label_text, hint=hint_text, extra_form_group_classes=extra_class, param_extensions={"id": "phone-number", "classes": ""}