2016-03-09 13:00:52 +00:00
|
|
|
|
{% extends "withnav_template.html" %}
|
|
|
|
|
|
{% from "components/yes-no.html" import yes_no %}
|
|
|
|
|
|
{% from "components/textbox.html" import textbox %}
|
|
|
|
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block page_title %}
|
|
|
|
|
|
Manage users – GOV.UK Notify
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
|
|
|
|
|
|
|
|
<h1 class="heading-large">
|
|
|
|
|
|
{{ user.name or user.email_localpart or "Add a new team member" }}
|
|
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="grid-row">
|
|
|
|
|
|
<form method="post" class="column-three-quarters">
|
|
|
|
|
|
|
|
|
|
|
|
<fieldset class='yes-no-wrapper'>
|
|
|
|
|
|
<legend class='heading-small'>
|
|
|
|
|
|
Permissions
|
|
|
|
|
|
</legend>
|
|
|
|
|
|
<span class="form-hint">All team members can see message history</span>
|
2016-03-09 17:42:47 +00:00
|
|
|
|
{{ yes_no(form.send_messages, form.send_messages.data) }}
|
|
|
|
|
|
{{ yes_no(form.manage_service, form.manage_service.data) }}
|
|
|
|
|
|
{{ yes_no(form.manage_api_keys, form.manage_api_keys.data) }}
|
2016-03-09 13:00:52 +00:00
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
2016-03-09 15:30:40 +00:00
|
|
|
|
{{ page_footer(
|
|
|
|
|
|
'Save',
|
|
|
|
|
|
back_link=url_for('.manage_users', service_id=service_id),
|
|
|
|
|
|
back_link_text='Cancel'
|
|
|
|
|
|
) }}
|
2016-03-09 13:00:52 +00:00
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
{% endblock %}
|