Skip to content
Snippets Groups Projects

Resolve "Substitution form doesn't work at all"

Merged Jonathan Weth requested to merge 179-substitution-form-doesn-t-work-at-all into master
3 files
+ 11
6
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -12,6 +12,7 @@
{% block page_title %}{% blocktrans %}Edit substitution{% endblocktrans %}{% endblock %}
{% block content %}
<p class="flow-text">{{ date }}: {{ lesson_period }}</p>
<form method="post">
{% csrf_token %}
@@ -19,7 +20,6 @@
{% include "core/partials/save_button.html" %}
{% if substitution %}
{# FIXME Respect year as well #}
<a href="{% url 'delete_substitution' substitution.lesson_period.id substitution.week %}"
class="btn red waves-effect waves-light">
<i class="material-icons iconify left" data-icon="mdi:delete-outline"></i> {% trans "Delete" %}
Loading