Switch to using render_partial instead of include
This commit is contained in:
@@ -93,9 +93,7 @@
|
||||
</div>
|
||||
<div class="p-3 text-xs italic font-normal text-gray-500" id="workout_view_wrapper-156">
|
||||
<div id="workout_view-{{ workout.id }}">
|
||||
{% with workout=workout, graph_types=workout['selected_graph_types'] %}
|
||||
{% include 'workout_view.html' %}
|
||||
{% endwith %}
|
||||
{{ render_partial('workout_view.html', workout=workout, graph_types=workout['selected_graph_types']) }}
|
||||
</div>
|
||||
<div class="flex justify-end">
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user