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 %}
{% 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>
<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>
<form method="post">
{{ textbox(
form.url,
width='1-4',
hint='Valid https url'
) }}
{{ textbox(
form.bearer_token,
width='1-4',
hint='At least 10 characters'
) }}
{{ page_footer(
'Save',
back_link=url_for('.service_settings', service_id=current_service.id),
back_link_text='Back to settings'
) }}
</form>
<form method="post">
{{ textbox(
form.url,
width='2-3',
hint='Valid https url'
) }}
{{ textbox(
form.bearer_token,
width='1-4',
hint='At least 10 characters'
) }}
{{ page_footer(
'Save',
back_link=url_for('.service_settings', service_id=current_service.id),
back_link_text='Back to settings'
) }}
</form>
</div>
</div>
{% endblock %}