<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
@model Peter.Models.AtivacaoViewModel
@{
ViewBag.Title = "AtivacaoForm";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Formulário de Ativação</h2>
<form action="@Url.Action("SaveAtivacao")">
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Ativação de Claro Fixo</h4>
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.HiddenFor(model => model.Item.Id)
@Html.HiddenFor(model => model.Item.IdContrato)
@Html.HiddenFor(model => model.Item.DatRegistro)
<div class="form-group">
<label class="control-label col-md-4" for="Item.IdOperador">Operador</label>
<div class="col-md-8">
<input type="hidden" name="Item.IdOperador" id="Item_IdOperador" rel="typeahead" data-source="Backoffice" />
</div>
</div>
<div class="form-group">
<label class="control-label col-md-4" for="Item.DatAtivacao">Data</label>
<div class="col-md-8">
@Html.EditorFor(model => model.Item.DatAtivacao, new { htmlAttributes = new { @class = "form-control required" } })
</div>