<form id="calcexp_active_filter_form" action=""  method="POST">
    <fieldset class="borderbottom">
        {include file='r/select.tpl' name="calcexp_af_extra" title="work_input_extra_type"
            list=$typestaff_list1 id="type_id" text="type_name" noempty=TRUE
            add_icons_file='calcexp_active_btns' class="required"}
    </fieldset>
    <fieldset class="borderbottom">
        {include file='r/select.tpl' name="calcexp_af_staff" title="work_input_staff"
            list=$typestaff_list2 id="staff_id" text="staff_name" noempty=TRUE
            add_icons_file='calcexp_active_btns' class="required"}
    </fieldset>
    <fieldset class="borderbottom">
        {include file='r/select.tpl' name="calcexp_af_work_package" title="work_input_package"
            list=$typestaff_list3 id="work_package_id" text="fullname" noempty=TRUE
            add_icons_file='calcexp_active_btns' class="required"}
    </fieldset>
    <fieldset class="borderbottom">
        {include file='r/input.tpl' name="calcexp_af_purpose" title="work_input_extra_purpose"
            class="required t-task t-mid" show_selector_link="true"
            add_icons_file='calcexp_active_btns'}
    </fieldset>
    <fieldset class="borderbottom">
        {include file='r/checkbox.tpl' name="calcexp_af_is_client_changed" title="work_input_is_client_changed"
            add_icons_file='calcexp_active_btns'}
    </fieldset>
    <fieldset class="noborder">
        {include file='r/datefromto.tpl' name="calcexp_af_date" title="filter_from_date" class="dateUS"
            add_icons_file='calcexp_active_btns' default=$default_dates}
    </fieldset>
</form>