| {% extends 'users/settings/page.html' %}
| {% block settings_page_title %}Emails{% endblock %}
| {% block settings_page_content %}
.settings-form
	form#settings-form(method='POST', action="{{url_for('settings.emails')}}")
		| {{ form.csrf_token }}
		| {% for subfield in form.email_communications %}
		.form-group.
			{{ subfield }}
			{{ subfield.label }}
		| {% endfor %}

		.buttons
			button.btn.btn-default.button-submit(type='submit')
				i.pi-check
				| Save Changes
| {% endblock %}
