@model Web.Models.Zamestnanec.ZamestnanecModel

@{
  Layout = "~/Views/Shared/_Layout.cshtml";
}

@using (Html.BeginForm()) {
  @Html.AntiForgeryToken()
  <hr />
  <div class="form-horizontal col-md-8">
    @Html.ValidationSummary(true, "", new { @class = "text-danger" })
    @Html.HiddenFor(model => model.Id)

    <div class="form-group">
      @Html.LabelFor(model => model.Jmeno, htmlAttributes: new { @class = "control-label col-md-3" })
      <div class="col-md-9">
        @Html.DisplayFor(model => model.Jmeno)
      </div>
    </div>


    <div class="form-group">
      @Html.LabelFor(model => model.Prijmeni, htmlAttributes: new { @class = "control-label col-md-3" })
      <div class="col-md-9">
        @Html.DisplayFor(model => model.Prijmeni)
      </div>
    </div>

    <div class="form-group">
      @Html.LabelFor(model => model.Email, htmlAttributes: new { @class = "control-label col-md-3" })
      <div class="col-md-9">
        @Html.DisplayFor(model => model.Email)
      </div>
    </div>

    <div class="form-group">
      @Html.LabelFor(model => model.TypZamestnance, htmlAttributes: new { @class = "control-label col-md-3" })
      <div class="col-md-9">
        @Html.DisplayFor(model => model.TypZamestnance)
      </div>
    </div>

    <div class="form-group">
      @Html.LabelFor(model => model.Poznamka, htmlAttributes: new { @class = "control-label col-md-3" })
      <div class="col-md-9">
        @Html.DisplayFor(model => model.Poznamka)
      </div>
    </div>

    <div class="form-group">
      @Html.LabelFor(model => model.InfoOModifikaci, htmlAttributes: new { @class = "control-label col-md-3" })
      <div class="col-md-9">
        @Html.DisplayFor(model => model.InfoOModifikaci)
      </div>
    </div>
    <div class="col-md-8">
      @Html.ActionLink("Změna hesla", "ZmenitHeslo", new object { }, new { @class = "btn btn-primary col-md-4" })
    </div>
  </div>


  <div class="col-md-4"></div>
  }


