aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/entity_edit_toml.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-07-30 17:31:17 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-07-30 23:45:30 -0700
commitb14040ecb359d1575280b24eaab9bd0e4964e3f7 (patch)
treeea14210d32a0668fa4792ac807e05176c43bcde3 /python/fatcat_web/templates/entity_edit_toml.html
parent90b06f6f6db1a40946ba280f7324b15fec2f667e (diff)
downloadfatcat-b14040ecb359d1575280b24eaab9bd0e4964e3f7.tar.gz
fatcat-b14040ecb359d1575280b24eaab9bd0e4964e3f7.zip
wire up new TOML views
Diffstat (limited to 'python/fatcat_web/templates/entity_edit_toml.html')
-rw-r--r--python/fatcat_web/templates/entity_edit_toml.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/entity_edit_toml.html b/python/fatcat_web/templates/entity_edit_toml.html
index 4b6e7b6d..807e4d2b 100644
--- a/python/fatcat_web/templates/entity_edit_toml.html
+++ b/python/fatcat_web/templates/entity_edit_toml.html
@@ -37,3 +37,15 @@
{% endblock %}
{% endblock %}
+{% block postscript %}
+<script src="https://cdn.jsdelivr.net/npm/sortablejs@latest/Sortable.min.js"></script>
+<script>
+<!-- Form code -->
+$(document).ready(function() {
+
+ // these javascript dropdowns hide the original <input>, which breaks browser
+ // form focusing (eg, for required fields) :(
+ $('.ui.dropdown') .dropdown();
+});
+</script>
+{% endblock %}