@model atakanozbancom.Models.classes.AdminAffiliateLinkVM @{ ViewBag.Title = "affiliatelinkget"; Layout = "~/Views/Shared/_AdminLayout.cshtml"; }

Edit Affiliate Link

@if (TempData["ok"] != null) {
@TempData["ok"]
}
@using (Html.BeginForm("affiliatelinkget", "admin", FormMethod.Post, new { enctype = "multipart/form-data" })) { @Html.AntiForgeryToken() @Html.HiddenFor(m => m.id) @Html.ValidationSummary(false, "", new { @class = "alert alert-danger" + (ViewData.ModelState.IsValid ? " d-none" : "") })

@Model.TitleEN Leave empty to keep the current logo.
@Html.LabelFor(p => p.url, new { @class = "text-white" }) @Html.TextBoxFor(p => p.url, new { @class = "form-control bg-dark text-white" })
@Html.LabelFor(p => p.TitleEN, new { @class = "text-white" }) @Html.TextBoxFor(p => p.TitleEN, new { @class = "form-control bg-dark text-white" })
@Html.LabelFor(p => p.DescEN, new { @class = "text-white" }) @Html.TextAreaFor(p => p.DescEN, new { @class = "form-control bg-dark text-white", rows = 2 })

Translation (TR)

@Html.LabelFor(m => m.TitleTR, new { @class = "text-white" }) @Html.TextBoxFor(m => m.TitleTR, new { @class = "form-control bg-dark text-white" })
@Html.LabelFor(m => m.DescTR, new { @class = "text-white" }) @Html.TextAreaFor(m => m.DescTR, new { @class = "form-control bg-dark text-white", rows = 2 })
@Html.LabelFor(p => p.sort_order, new { @class = "text-white" }) @Html.TextBoxFor(p => p.sort_order, new { @class = "form-control bg-dark text-white", type = "number" })
}