reload only on selected pages
Doesn't refresh page when a form has been edited
This commit is contained in:
@@ -13,6 +13,13 @@
|
||||
{% block og_description %}{{ workout.name }}
|
||||
{{ workout.date }} - {{ workout.distance }}m - {{ workout.duration |durationprint:"%H:%M:%S.%f" }}{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{% include "monitorjobs.html" %}
|
||||
<script type='text/javascript'
|
||||
src='https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js'>
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div id="workouts" class="grid_6 alpha">
|
||||
|
||||
@@ -89,8 +96,9 @@
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="grid_6 alpha">
|
||||
<form enctype="multipart/form-data" action="" method="post">
|
||||
<div id="form-div" class="grid_6 alpha">
|
||||
<form id="importantform"
|
||||
enctype="multipart/form-data" action="" method="post">
|
||||
<table width=100%>
|
||||
{{ form.as_table }}
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user