{% extends "w_base.html" %} {% load static from staticfiles %} {% load request_tags %} {% load bootstrap %} {% load workshift_tags %} {% block w_content %}

{{ page_name }}


{% if shift_tuples %}
{% for shift, forms, preferred in shift_tuples %} {% endfor %}
Preferred Date Title Starts Ends Hours Action
{% if preferred %}preferred{% endif %} {{ shift.date }} {{ shift.title }} {{ shift.start_time }} {{ shift.end_time }} {% if shift.intended_hours == shift.hours %} {{ shift.hours }} {% else %} {{ shift.intended_hours}} {{ shift.hours }} {% endif %} {% for form in forms %}
{% csrf_token %} {{ form }}
{% endfor %}
{% with id_prefix="shifts" %} {% include "pager.html" %} {% endwith %}
{% else %} No open shifts. {% endif %} {% endblock %} {% block w_endscripts %} {% endblock %}