Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Remove edit template for days, this is done with generic views

Roland Geider0ca36fc0bc4c
diff --git a/manager/templates/day/edit.html b/manager/templates/day/edit.html
deleted file mode 100644
index a3b1aeef4..000000000
--- a/manager/templates/day/edit.html
+++ /dev/null
@@ -1,40 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-<!--
- Title
--->
-{% block title %}{% trans "Day details" %}{% endblock %}
-
-
-<!--
- Main Content
--->
-{% block content %}
-
-<h2>{% trans "Edit" %} {{ day.description }}</h2>
-
-<form action="{% url manager.views.edit_day id=workout.id day_id=day.id %}"
- method="post"
- class="ym-form">
-{% csrf_token %}
-{{ day_form.non_field_errors }}
-<table>
- {% include "form_snippet.html" with field=day_form.description %}
- {% include "form_snippet.html" with field=day_form.day css_class="ym-fbox-select" %}
- <tr>
- <td><input type="submit" value="{% trans "Save" %}" /></td>
- <td></td>
- </tr>
-</table>
-</form>
-
-
-{% endblock %}
-
-
-<!--
- Side bar
--->
-{% block sidebar %}
-{% endblock %}