Commit 649579ec authored by Jonathan Rehm's avatar Jonathan Rehm

Move jquery.form to layout.html

This prevents it from getting loaded each time the details are viewed in a modal dialog.
parent 675e8dd5
......@@ -235,7 +235,6 @@
{% endblock %}
{% block js %}
<script src="{{ url_for('static', filename='js/libs/jquery.form.js') }}"></script>
<script>
$( document ).ready(function() {
$('#have_read_form').ajaxForm();
......
......@@ -28,6 +28,7 @@
<script src="{{ url_for('static', filename='js/libs/intention.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/libs/context.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/libs/plugins.js') }}"></script>
<script src="{{ url_for('static', filename='js/libs/jquery.form.js') }}"></script>
<script src="{{ url_for('static', filename='js/main.js') }}"></script>
{% block header %}{% endblock %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment