@model ElectroluxBursa.Models.BilgiSet @{ ViewBag.Title = "İçerik Ekle"; Layout = "~/Areas/Yonetim/Views/Shared/AdminMaster.cshtml"; var ss = ViewContext.RouteData.Values["id"].ToString(); }
İçerik Formu Ekle
@using (Html.BeginForm()) {
İçerik Bilgileri Ekle
@{ if (ss == "Hz") {
@Html.DropDownList("KategoriId")
} }
@{ if (ss == "Et" || ss == "Eg") {
} }
@Html.TextAreaFor(model => model.IcerikOzet, new { @class = "required large" })
@Html.TextAreaFor(model => model.IcerikDetay, new { @id = "cleditor", @class = " required large" })
@Html.TextAreaFor(model => model.MetaTagi, new { @class = "large" })
  • @Html.CheckBoxFor(model => model.YayinDurum, new { @class = "ibutton",@checked="checked" })
}