2016-03-22 13:18:06 +00:00
|
|
|
{% from "components/checkbox.html" import checkbox %}
|
2017-11-01 15:36:27 +00:00
|
|
|
{% from "components/radios.html" import radios %}
|
2016-03-22 13:18:06 +00:00
|
|
|
|
|
|
|
|
<fieldset class="form-group">
|
|
|
|
|
<legend class="form-label">
|
|
|
|
|
Permissions
|
|
|
|
|
</legend>
|
2016-12-19 10:36:17 +00:00
|
|
|
{{ checkbox(form.send_messages) }}
|
2017-08-17 11:14:26 +01:00
|
|
|
{{ checkbox(form.manage_templates) }}
|
2016-12-19 10:36:17 +00:00
|
|
|
{{ checkbox(form.manage_service) }}
|
|
|
|
|
{{ checkbox(form.manage_api_keys) }}
|
2016-03-22 13:18:06 +00:00
|
|
|
</fieldset>
|
|
|
|
|
|
2017-07-13 15:55:32 +01:00
|
|
|
<div class="bottom-gutter">
|
2016-03-22 13:18:06 +00:00
|
|
|
<p class="form-label">
|
|
|
|
|
All team members can see
|
|
|
|
|
</p>
|
|
|
|
|
<ul class="list list-bullet">
|
|
|
|
|
<li>templates</li>
|
|
|
|
|
<li>history of sent messages</li>
|
|
|
|
|
<li>who the other team members are</li>
|
|
|
|
|
</ul>
|
2016-12-19 10:36:17 +00:00
|
|
|
</div>
|
2017-11-01 15:36:27 +00:00
|
|
|
|
|
|
|
|
{% if service_has_email_auth %}
|
|
|
|
|
{{ radios(form.login_authentication, disable=['sms_auth' if user_has_no_mobile_number]) }}
|
|
|
|
|
{% endif %}
|