Create Availability Slot Doctor {% for doctor in doctors %} {{ doctor.full_name }} {% endfor %} Day of week {% for day in range(7) %} {{ day_names[day] }} {% endfor %} Start time End time Duration minutes Save slot
Current Slots {% for slot in slots %} {{ user_lookup.get(slot.doctor_id, 'Doctor') }} {{ day_names[slot.day_of_week] }} · {{ slot.start_time }} - {{ slot.end_time }} · {{ slot.duration_minutes }} min {{ 'Active' if slot.is_active else 'Inactive' }} {{ 'Deactivate' if slot.is_active else 'Activate' }} {% endfor %}