@using QuickForm
@model ScaffoldingExample.Models.Processor

@{
    QuickFormModel quickFormModel = (QuickFormModel)ViewBag.QuickFormModel;    
}

@if (quickFormModel.CurrentActionType == QuickFormActionType.Edit)
{       
	@Html.HiddenFor(model => model.Id)
}

<tr>
	<td class="table-form-label-td">
		<div class="editor-label">
            @Html.LabelFor(model => model.ProcessorName):
        </div>
	</td>

	<td>
        <div class="editor-field">
            @Html.EditorFor(model => model.ProcessorName)
			@Html.ValidationMessageFor(model => model.ProcessorName)
        </div>
	</td>
</tr>
@Html.HiddenFor(model => model.Order)













