\Yezervasyon\Yezervasyon\Views\Giris\Giris.cshtml
Return Back
@model Entities.Kullanici
@{
ViewBag.Title = "Giriş";
}
<div class="text-center">
<h1 class="display-4">Gölpazarı Yemek Rezervasyon</h1>
<img src="~/Styles/Content/bseuLogo.jpg" alt="BŞEÜ Logo">
@using (Html.BeginForm("Giris", "Giris", FormMethod.Post))
{
@Html.AntiForgeryToken()
<div class="form-group">
<label class="control-label">Kullanıcı Adı</label>
<br/>
<label>
@Html.TextBoxFor(m => m.Ad, new {@class = "form-control"})
</label>
<span class="text-danger"></span>
</div>
<div class="form-group">
<label class="control-label">Şifre</label>
<br/>
<label>
@Html.PasswordFor(m => m.Sifre, new {@class = "form-control"})
</label>
<span class="text-danger"></span>
</div>
<div style="text-align: center">
<input type="submit" value="Giriş Yap" class="btn btn-primary"/>
</div>
}
@{
if (TempData["Basarisiz"] != null)
{
<label style="color: red">@TempData["Basarisiz"]</label>
}
}
</div>
@{
ViewBag.Title = "Giriş";
}
<div class="text-center">
<h1 class="display-4">Gölpazarı Yemek Rezervasyon</h1>
<img src="~/Styles/Content/bseuLogo.jpg" alt="BŞEÜ Logo">
@using (Html.BeginForm("Giris", "Giris", FormMethod.Post))
{
@Html.AntiForgeryToken()
<div class="form-group">
<label class="control-label">Kullanıcı Adı</label>
<br/>
<label>
@Html.TextBoxFor(m => m.Ad, new {@class = "form-control"})
</label>
<span class="text-danger"></span>
</div>
<div class="form-group">
<label class="control-label">Şifre</label>
<br/>
<label>
@Html.PasswordFor(m => m.Sifre, new {@class = "form-control"})
</label>
<span class="text-danger"></span>
</div>
<div style="text-align: center">
<input type="submit" value="Giriş Yap" class="btn btn-primary"/>
</div>
}
@{
if (TempData["Basarisiz"] != null)
{
<label style="color: red">@TempData["Basarisiz"]</label>
}
}
</div>