diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-07-04 15:30:43 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-07-04 15:38:24 +0100 |
commit | 45aaf63033e7d4d24ba570f7460746fe28f9f59f (patch) | |
tree | 12c46eeff8c73aa68403cc4985ae16fafc1b4420 /web | |
parent | 1ace947ac1e6f9b0fd3bdf3e8cd3dec6d4473f27 (diff) |
Use static files for validation_rules.js.
No need for this to be generated via a template, it only differs
occasionally by cobrand.
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/zurich/validation_rules.js | 8 | ||||
-rw-r--r-- | web/js/validation_rules.js | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/web/cobrands/zurich/validation_rules.js b/web/cobrands/zurich/validation_rules.js new file mode 100644 index 000000000..d98bc1118 --- /dev/null +++ b/web/cobrands/zurich/validation_rules.js @@ -0,0 +1,8 @@ + validation_rules = { + title: { required: true }, + detail: { required: true }, + email: { required: true }, + update: { required: true }, + phone: { required: true }, + rznvy: { required: true } + }; 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 } + }; |