From 45aaf63033e7d4d24ba570f7460746fe28f9f59f Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Mon, 4 Jul 2016 15:30:43 +0100 Subject: Use static files for validation_rules.js. No need for this to be generated via a template, it only differs occasionally by cobrand. --- web/js/validation_rules.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 web/js/validation_rules.js (limited to 'web/js/validation_rules.js') diff --git a/web/js/validation_rules.js b/web/js/validation_rules.js new file mode 100644 index 000000000..5295a53ca --- /dev/null +++ b/web/js/validation_rules.js @@ -0,0 +1,5 @@ + validation_rules = { + title: { required: true }, + detail: { required: true }, + update: { required: true } + }; -- cgit v1.2.3