{% extends "mylab/base.html" %} {% load widget_tweaks %} {% load static %} {% load user_link %} {% block breadcrumb %} {% endblock %} {% block breadcrumb-mobile %} {% endblock %} {% block mylab_content %}

My Lab

{% if edit %}Edit{% else %}Add a{% endif %} lab appointment

{% if success and success is True %}
Appointment successfully {% if edit %}changed{% else %}created{% endif %}.
Back to MyLab

New appointment
Experiment: {% experiment_link appointment.experiment True %}
Date: {{ appointment.date.date|date:"l, j F Y" }}
Student(s): {% user_link_list appointment.students.all fullname=True %}
{% else %}

Here you can add/edit an appointment for the experiments that you are tutoring. You can either pick a date from the pre-defined list or create a new one by specifying it in the field below. Note that the latter will always be used if given.

Finally, you can pick up to three students that are participating in the lab. By leaving all three to "None", you can use this to block a given date for the experiment.


{% csrf_token %} {% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %}
{% render_field form.experiment class+="form-select" %}

{% render_field form.newdate class+="form-control" %}


{% render_field form.send_email %}

{% endif %} {% endblock %}