diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-10-13 16:48:14 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-11-11 07:44:44 +0000 |
commit | cafdf699a2a3a8ef41f7ec8d93a807efdaf91ed9 (patch) | |
tree | 2cd516eb08d97c567d412c47e1727ea5425b9bdf | |
parent | 37ed4d4aae659db14f77d96e5da8e2deb922860d (diff) |
Fix extra "required" by testing correct value.
-rw-r--r-- | templates/web/base/admin/category_edit.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/admin/category_edit.html b/templates/web/base/admin/category_edit.html index d1a323819..5eb3c943e 100644 --- a/templates/web/base/admin/category_edit.html +++ b/templates/web/base/admin/category_edit.html @@ -32,7 +32,7 @@ [% FOR meta IN contact.get_metadata_for_input %] <li> [% meta.order %], <code>[% meta.code %]</code>, [% meta.datatype %], - [% meta.required ? loc('required') : loc('optional') %] + [% meta.required == 'true' ? loc('required') : loc('optional') %] <br><small>[% meta.description %]</small> [% IF meta.variable != 'false' AND meta.exists('values') %] <ul> |