Change label to exclude the type of message being sent.

Fix send email to self, it was always using mobile number to send mesasge. This fixes that.
This commit is contained in:
Rebecca Law
2016-03-02 17:02:41 +00:00
parent f0e0006a7c
commit 789264a863
4 changed files with 47 additions and 5 deletions

View File

@@ -49,7 +49,7 @@
{% if upload_result.valid %}
<form method="post" enctype="multipart/form-data">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<input type="submit" class="button" value="{{ "Send {} text message{}".format(upload_result.rows|count, '' if upload_result.rows|count == 1 else 's') }}" />
<input type="submit" class="button" value="{{ "Send {} message{}".format(upload_result.rows|count, '' if upload_result.rows|count == 1 else 's') }}" />
<a href="{{url_for('.send_messages', service_id=service_id, template_id=template.id)}}" class="page-footer-back-link">Back</a>
</form>
{% else %}