{{extend 'nmc/layout.html'}} {{block header}} {{=response.cmd_menu}}

{{=response.title}}

{{=response.subtitle}}

{{=response.cmd_commands}} {{end}} {{if response.prm_input:}} {{=form.custom.begin}}
{{if form.custom.widget.valuelist!=None:}} {{pass}}
{{=form.custom.label.fieldname}}
{{if form.formname=='deffield/create':}}
{{else:}}
{{=form.custom.widget.fieldname}}
{{pass}}
{{=form.custom.label.fieldtype}}
{{if form.formname=='deffield/create':}} {{=form.custom.widget.nervatype}} {{else:}}
{{=form.custom.widget.nervatype}}
{{pass}}
{{if form.formname=='deffield/create':}} {{=form.custom.widget.fieldtype}} {{else:}}
{{=form.custom.widget.fieldtype}}
{{pass}}
{{=form.custom.label.description}}
{{=form.custom.widget.description}}
{{=form.custom.label.valuelist}}
{{=form.custom.widget.valuelist}}
{{=form.custom.end}} {{else:}} {{=response.sform}} {{=form}} {{pass}}
{{=response.cmd_home}} {{=response.cmd_close}}

{{if response.prm_input:}}
{{=form.custom.submit}} {{if form.formname!='deffield/create':}} {{=response.cmd_delete}} {{if response.cmd_deffield_new:}} {{=response.cmd_deffield_new}} {{pass}} {{pass}}
{{=response.cmd_deffield_close}}
{{else:}}
{{=response.cmd_deffield_new}}
{{pass}}