{{extend 'nwc/layout.html'}}
{{if response.margin_top:}}
{{else:}}
{{pass}}
{{if response.prm_input:}} {{=form.custom.begin}} {{pass}} {{if response.prm_input:}} {{pass}}
{{=response.title}} {{=response.subtitle}} {{=form.custom.submit}} {{=response.cmd_delete}} {{=response.cmd_help}} {{=response.cmd_back}}
{{if response.prm_input:}}
{{=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}}
{{if form.custom.widget.valuelist!=None:}}
{{=form.custom.label.valuelist}}
{{=form.custom.widget.valuelist}}
{{pass}}
{{=form.custom.label.addnew}}
{{=form.custom.widget.addnew}}
{{=form.custom.label.visible}}
{{=form.custom.widget.visible}}
{{=form.custom.label.readonly}}
{{=form.custom.widget.readonly}}
{{=form.custom.end}} {{else:}} {{if response.sform:}} {{if response.cmd_deffield_new:}} {{pass}} {{pass}}
{{=response.cmd_deffield_new}} {{=response.sform}}
{{=form}}
{{pass}}