{{extend 'nwc/layout.html'}} {{=form.custom.begin}}
{{is_mobile=request.user_agent().is_mobile}}
{{=form.custom.label.serial}}
{{=form.custom.widget.serial}}
{{=form.custom.label.description}}
{{=form.custom.widget.description}}
{{=form.custom.label.toolgroup}}
{{if response.cmd_groups:}} {{pass}}
{{=form.custom.widget.toolgroup}} {{=response.cmd_groups}}
{{=form.custom.label.product_id}}
{{=response.product_control}}{{=response.product_id}}
{{=form.custom.label.notes}}
{{=form.custom.label.inactive}}
{{=form.custom.widget.inactive}}
{{=form.custom.widget.notes}}
{{=form.custom.end}} {{if form.formname!='tool/create':}}
{{if response.cmd_fields:}} {{pass}}
{{=response.cmd_fields}} {{if response.cmb_fields:}}
{{=T('Additional Data')}}
{{else:}}
{{pass}}
{{=response.cmb_fields}}
{{=response.fieldvalue_form.custom.begin}}
{{=T('FIELD')}} {{=response.serial}} {{=response.cmd_fieldvalue_update}} {{=response.cmd_help}} {{=response.cmd_fieldvalue_cancel}}
{{=response.fieldvalue_customer_selector}} {{=response.fieldvalue_tool_selector}} {{=response.fieldvalue_product_selector}} {{=response.fieldvalue_transitem_selector}} {{=response.fieldvalue_transpayment_selector}} {{=response.fieldvalue_transmovement_selector}} {{=response.fieldvalue_project_selector}} {{=response.fieldvalue_employee_selector}} {{=response.fieldvalue_place_selector}}
{{=response.fieldvalue_form.custom.label.notes}}
{{=response.fieldvalue_form.custom.widget.notes}}
{{=response.fieldvalue_id}} {{=response.fieldvalue_ref_id}} {{=response.fieldvalue_fieldname}} {{=response.fieldvalue_fieldtype}} {{=response.fieldvalue_readonly}} {{=response.fieldvalue_form.custom.end}}
{{=response.view_fields}}
{{if not response.event_disabled:}}
{{=response.view_event}}
{{pass}} {{if not response.waybill_disabled:}}
{{=response.view_trans}}
{{pass}}
{{pass}}