diff --git a/core/templates/base.html b/core/templates/base.html index 23b9e9c..f11e9ea 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -70,9 +70,9 @@ History {% if user.is_staff %} - +
{% endif %} @@ -148,6 +149,9 @@ Projects + + Absences + {% endif %} Receipts diff --git a/core/templates/core/absences/edit.html b/core/templates/core/absences/edit.html index 5563834..10d9046 100644 --- a/core/templates/core/absences/edit.html +++ b/core/templates/core/absences/edit.html @@ -3,20 +3,21 @@ {% block title %}Edit Absence | FoxFitt{% endblock %} {% block content %} -{# === EDIT ABSENCE PAGE === - Single form for editing one Absence row. The is_paid checkbox is - the magic field — toggling it on creates a Bonus PayrollAdjustment - at the worker's daily rate; toggling it off deletes the adjustment - (UNLESS it's already been paid, in which case the view surfaces an - error). +{% comment %} +=== EDIT ABSENCE PAGE === +Single form for editing one Absence row. The is_paid checkbox is +the magic field — toggling it on creates a Bonus PayrollAdjustment +at the worker's daily rate; toggling it off deletes the adjustment +(UNLESS it's already been paid, in which case the view surfaces an +error). - Why two forms? HTML doesn't allow nested