Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Rename edit.html to edit_exercise.html to avoid collisions

Roland Geider08710b708a40
diff --git a/exercises/templates/edit.html b/exercises/templates/edit_exercise.html
similarity index 100%
rename from exercises/templates/edit.html
rename to exercises/templates/edit_exercise.html
diff --git a/exercises/views.py b/exercises/views.py
index 3525d24dc..75218b2ac 100644
--- a/exercises/views.py
+++ b/exercises/views.py
@@ -155,7 +155,7 @@ def exercise_edit(request, id=None):
template_data['edit_form'] = exercise_form
- return render_to_response('exercise_edit.html', template_data)
+ return render_to_response('edit_exercise.html', template_data)
@permission_required('manager.delete_exercise')
def exercise_delete(request, id):