{{extend 'nmc/layout.html'}} {{block header}} {{=response.cmd_menu}} {{if form.formname!='tool/create':}}

{{=response.subtitle}}

{{=response.serial}}

{{else:}}

{{=response.subtitle}}

{{pass}} {{=response.cmd_commands}} {{end}} {{=response.active_page}}
{{=form.custom.begin}}
{{=form.custom.label.serial}}
{{=form.custom.widget.serial}}
{{=form.custom.label.description}}
{{=form.custom.widget.description}}
{{=form.custom.label.toolgroup}}
{{=form.custom.widget.toolgroup}}
{{=form.custom.label.product_id}}
{{=response.product_control}}{{=response.product_id}}
{{=form.custom.label.notes}}
{{=form.custom.widget.notes}}
{{=form.custom.end}}
{{if form.formname!='tool/create':}} {{pass}}
{{=response.cmd_back}} {{=response.cmd_close}}

{{=form.custom.submit}} {{if form.formname!='tool/create':}} {{=response.cmd_delete}} {{=response.cmd_report}} {{if response.cmd_groups:}} {{=response.cmd_groups}} {{pass}} {{pass}}
{{if form.formname!='tool/create':}} {{pass}}
{{=response.menu_tool}} {{=response.menu_fields}} {{if not response.event_disabled:}} {{=response.menu_event}} {{pass}} {{if not response.waybill_disabled:}} {{=response.menu_trans}} {{pass}}