diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-05-03 13:31:57 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-05-07 15:01:07 +0100 |
commit | 0236d3a37da94e06e9e6208f50f6c0b9388feb7c (patch) | |
tree | 53a206661f0b46303faaa3cf1e77c748f59b1621 /templates/web/zurich/admin/template_edit.html | |
parent | b8fd2a09332798214188cbedecb85294645c06dc (diff) |
Prevent creation of two templates with same title.
Diffstat (limited to 'templates/web/zurich/admin/template_edit.html')
-rw-r--r-- | templates/web/zurich/admin/template_edit.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/web/zurich/admin/template_edit.html b/templates/web/zurich/admin/template_edit.html index e954d566c..b6f68106c 100644 --- a/templates/web/zurich/admin/template_edit.html +++ b/templates/web/zurich/admin/template_edit.html @@ -16,6 +16,9 @@ accept-charset="utf-8" class="validate"> + [% IF errors.title %] + <div class="form-error">[% errors.title %]</div> + [% END %] <p> <strong>[% loc('Title:') %] </strong> <input type="text" name="title" class="form-control required" size="30" value="[% rt.title| html %]"> |