<fieldset class="noborder">
    {include file='r/hidden.tpl' name="drawings_outbox_edit"}{* What entry do we edit - If empty = add *}
    
    {include file='r/select-project.tpl' name="drawings_outbox_project" title="drawings_inout_project" class="is_project required on_change_update ocu-p:drawingandproductdirectory_outbox ocu-m:get_drawings ocu-f:drawings_outbox_drawing_id"
        list=$projects_list id="id" text="project"
        add_icons_file="project" filter_favourite_list=$projects_favourite_list}
</fieldset>

<fieldset class="borderbottom">
    {include file='r/select.tpl' name="drawings_outbox_drawing_id" title="drawings_inout_drawing_id" class="required"}
    
    {include file='r/input.tpl' name="drawings_outbox_amount" title="drawings_inout_amount" class="numberi18n" collapse='formcoll'}
    {include file='r/textarea.tpl' name="drawings_outbox_purpose" title="drawings_inout_purpose" class="t-mid"}
    
    {include file='r/date.tpl' name="drawings_outbox_date" title="drawings_inout_date_out" class="required"}
</fieldset>
<fieldset class="borderbottom">    
    {include file='r/ajaxselect.tpl' name='drawings_outbox_recipient' title="drawings_inout_recipient"
        class="addressselect fulltext_search t-mid required" collapse='formcoll'
        add_icons_file="project_participants"
        filter_project_participants_project_field="drawings_outbox_project"}
</fieldset>