I am getting text appearing in my view and I can't figure out what is causing it. My code example below has been edited to only show the area that is somehow creating the issue. I can include more code if necessary.
The text didn't appear until I added my BeginForm code.
@foreach (var item in Model.orderList)
{
<tr>
@Html.HiddenFor(modelItem => item.prod_order_details.UID)
<td>
@if (item.prod_order_details.status.Contains("Assigned"))
{
@(Html.BeginForm("Details_PO_Screen", "ProdOrder", new {po_id = @item.prod_order_details.UID }))
{
<input id="submitForm" class="btn btn-sm" style="background-color:green; color:white" disabled type="submit" value="Begin" />
<input id="employeelist" type="hidden" class="bacon" value="" name="employeelist">
}
}
else
{
@Html.DisplayFor(modelItem => item.prod_order_details.status)
}
</td>
</tr>
}