Refactored set inbound api page

This commit is contained in:
Ken Tsang
2017-06-20 13:07:50 +01:00
parent d9286b036f
commit 5d5bb69f0e

View File

@@ -7,29 +7,32 @@
{% endblock %} {% endblock %}
{% block maincolumn_content %} {% block maincolumn_content %}
<div class="grid-row">
<div class="column-five-sixths">
<h1 class="heading-large">API endpoint for received text messages</h1>
<p>
This is the https url that the inbound SMS messages will be posted to
and the bearer token used in the authorisation header of the request.
</p>
<h1 class="heading-large">Inbound API</h1> <form method="post">
<p> {{ textbox(
This is the https url that the inbound SMS messages will be posted to form.url,
and the bearer token used in the authorisation header of the request. width='2-3',
</p> hint='Valid https url'
) }}
<form method="post"> {{ textbox(
{{ textbox( form.bearer_token,
form.url, width='1-4',
width='1-4', hint='At least 10 characters'
hint='Valid https url' ) }}
) }} {{ page_footer(
{{ textbox( 'Save',
form.bearer_token, back_link=url_for('.service_settings', service_id=current_service.id),
width='1-4', back_link_text='Back to settings'
hint='At least 10 characters' ) }}
) }} </form>
{{ page_footer( </div>
'Save', </div>
back_link=url_for('.service_settings', service_id=current_service.id),
back_link_text='Back to settings'
) }}
</form>
{% endblock %} {% endblock %}