{% extends "qommon/forms/widget.html" %} {% block widget-control %} {% with options=widget.get_options|list %} {% with first_monday=options.0.options.date|adjust_to_week_monday last_option=options|last %} {% with last_day=last_option.options.date|adjust_to_week_monday|add_days:6 %} {% now 'WY' as current_week %} {% spaceless %}