mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-19 05:53:51 -04:00
28 lines
774 B
HTML
28 lines
774 B
HTML
{% from "components/checkbox.html" import checkbox %}
|
||
{% from "components/radios.html" import radio, radios, radios_wrapper, conditional_radio_panel %}
|
||
|
||
<fieldset class="form-group">
|
||
<legend class="form-label">
|
||
Permissions
|
||
</legend>
|
||
{% for field in form.permissions_fields %}
|
||
{{ checkbox(field) }}
|
||
{% endfor %}
|
||
</fieldset>
|
||
|
||
<p class="bottom-gutter">
|
||
All team members can see sent messages.
|
||
</p>
|
||
|
||
{% if service_has_email_auth %}
|
||
{% if not mobile_number %}
|
||
{{ radios(
|
||
form.login_authentication,
|
||
disable=['sms_auth'],
|
||
option_hints={'sms_auth': 'Not available because this team member hasn’t added a phone number to their profile'|safe}
|
||
) }}
|
||
{% else %}
|
||
{{ radios(form.login_authentication) }}
|
||
{% endif %}
|
||
{% endif %}
|