+ {% block object-tools %}
+
+ {% endblock %}
+ {% if cl.formset and cl.formset.errors %}
+
+ {% if cl.formset.total_error_count == 1 %}{% translate "Please correct the error below." %}{% else %}{% translate "Please correct the errors below." %}{% endif %}
+
+ {{ cl.formset.non_form_errors }}
+ {% endif %}
+
{{ extra_hint|default:"" }}
+
+
+ {% block filters %}
+ {% if cl.has_filters %}
+
+
{% translate 'Filter' %}
+ {% if cl.has_active_filters %}
{% endif %}
+ {% for spec in cl.filter_specs %}{% admin_list_filter cl spec %}{% endfor %}
+
+ {% endif %}
+ {% endblock %}
+
+
+{% endblock %}
diff --git a/aitrainer_backoffice/static/training_plan.js b/aitrainer_backoffice/static/training_plan.js
new file mode 100644
index 0000000..07ad524
--- /dev/null
+++ b/aitrainer_backoffice/static/training_plan.js
@@ -0,0 +1,5 @@
+(function($){ // your code
+ $( "#weight_calc" ).click(function() {
+ alert( "Handler for .click() called." );
+ });
+})(django.jQuery);