{# The booking fields, on the form page and in the calendar's panel: the kind of booking, the model or the notebook's memory, the times and a note. The page puts the
, its CSRF token and the button (#book-submit) around them. #}
{{ form.mode.label.text }}
{% for choice in form.mode %}
{% endfor %}
{% if suggestions %}
{{ _('Model') }}
{% set picked = form.model_pick.data or suggestions[0][0] %} {% else %}
{{ form.model.label(class="form-label fw-semibold") }} {{ form.model(class="form-control") }}
{% endif %} {% if not resolves %}
{{ form.memory_gb.label(class="form-label fw-semibold") }} {{ form.memory_gb(class="form-control", style="max-width: 10rem") }}
{% endif %}
{{ render_template_hooks("reservations.form.model") }}
{{ _('Memory for your notebook') }}
{% for gb in code_sizes %} {% endfor %}
{{ _('The machine is shared: others can use the memory you do not book, and the GPU is shared in time. Take the whole machine to have it to yourself.') }}
{{ form.start.label(class="form-label fw-semibold") }} {{ form.start(class="form-control") }}
{{ form.end.label(class="form-label fw-semibold") }} {{ form.end(class="form-control") }}
{{ form.note.label(class="form-label fw-semibold") }} {{ form.note(class="form-control") }}