@model atakanozbancom.Models.classes.AdminSocialIconVM
@{
ViewBag.Title = "socialiconget";
Layout = "~/Views/Shared/_AdminLayout.cshtml";
}
Edit Social Icon
@if (TempData["ok"] != null)
{@TempData["ok"]
}
@using (Html.BeginForm("socialiconget", "admin", FormMethod.Post))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(m => m.id)
@Html.ValidationSummary(false, "", new { @class = "alert alert-danger" + (ViewData.ModelState.IsValid ? " d-none" : "") })
@Html.LabelFor(p => p.icon, new { @class = "text-white" })
@Html.TextBoxFor(p => p.icon, new { @class = "form-control bg-dark text-white", id = "icon-input" })
Any Font Awesome class name, e.g. fa-brands fa-youtube or fa-solid fa-link.
@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.sort_order, new { @class = "text-white" })
@Html.TextBoxFor(p => p.sort_order, new { @class = "form-control bg-dark text-white", type = "number" })
}