diff --git a/core/templates/core/absences/edit.html b/core/templates/core/absences/edit.html new file mode 100644 index 0000000..5563834 --- /dev/null +++ b/core/templates/core/absences/edit.html @@ -0,0 +1,87 @@ +{% extends 'base.html' %} + +{% 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). + + Why two forms? HTML doesn't allow nested