Added error message on template for failing to choose permissions.

For error message over ride from WTF forms radio field created
custom field.
This commit is contained in:
Adam Shimali
2016-03-09 17:42:47 +00:00
parent 47079f1128
commit 4c323a9a99
6 changed files with 38 additions and 16 deletions

View File

@@ -247,8 +247,8 @@
<div class="grid-row">
<div class='column-half'>
<fieldset class='yes-no-wrapper'>
{{ yes_no('manage_service', 'Manage service', True) }}
{{ yes_no('templates', 'Create templates', True) }}
{{ yes_no(form.manage_service, form.manage_service.data) }}
{{ yes_no(form.manage_templates, form.manage_templates.data) }}
</fieldset>
</div>
</div>