Refactor test to use flag

This commit is contained in:
Ken Tsang
2017-06-20 17:51:58 +01:00
parent d3d0c0c0b6
commit b2d07f1bb3

View File

@@ -57,7 +57,7 @@
{{ edit_field('Change', url_for('.service_set_inbound_sms', service_id=current_service.id)) }}
{% endcall %}
{% if 'inbound_sms' in current_service.permissions %}
{% if can_receive_inbound %}
{% call row() %}
{{ text_field('API endpoint for received text messages') }}
{{ text_field(