.field(class='type-' + field.type)
	label.field-label= field.label
	.field-ui(class='width-' + field.width)
		if field.noedit
			.field-value= value
		else
			input(type='text', name=field.path, value=item[field.path], class='ui-datepicker' autocomplete='off').form-control
		if field.note
			.field-note!= field.note
