mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Refactor user permissions to use args, not list
This makes the interface a bit cleaner and less verbose.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
{{ textbox(form.name, width='1-1', hint='Your recipients won’t see this', rows=10) }}
|
||||
{{ textbox(form.subject, width='1-1', highlight_tags=True, rows=2) }}
|
||||
{{ textbox(form.template_content, highlight_tags=True, width='1-1', rows=8) }}
|
||||
{% if current_user.has_permissions([], admin_override=True) %}
|
||||
{% if current_user.has_permissions(admin_override=True) %}
|
||||
{{ radios(form.process_type) }}
|
||||
{% endif %}
|
||||
{{ page_footer(
|
||||
|
||||
Reference in New Issue
Block a user