{% extends 'base.html' %} {% block title %}Edit Absence | FoxFitt{% endblock %} {% block content %} {% 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