summaryrefslogtreecommitdiff
path: root/templates/layouts/app.html.ep
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-08-26 08:32:42 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-08-26 08:32:42 +0200
commit6824e6bcf881c83091f844f55fcfed0c5f4de826 (patch)
tree8c3b6fdfa1b17c91caa5e6adff54ce38e02cdf41 /templates/layouts/app.html.ep
parent8360f1f3953be284f3f4ff51a6717cc8f4c00176 (diff)
generate autocomplete list dynamically from installed IRIS module
Diffstat (limited to 'templates/layouts/app.html.ep')
-rw-r--r--templates/layouts/app.html.ep3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep
index 3727340..f5d0577 100644
--- a/templates/layouts/app.html.ep
+++ b/templates/layouts/app.html.ep
@@ -55,6 +55,9 @@
%= javascript '/static/js/jquery-3.4.1.min.js', defer => undef
%= javascript "/static/${av}/js/jquery-ui.min.js", defer => undef
%= javascript "/static/${av}/js/dbf.min.js", defer => undef
+ % if (not stash('hide_opts')) {
+ %= javascript "/dyn/${av}/autocomplete.js", defer => undef
+ % }
% if (stash('with_geostop')) {
%= javascript "/static/${av}/js/geostop.min.js", defer => undef
% }