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

Social Icons

These appear as the icon row at the bottom of every public page.

@if (TempData["ok"] != null) {
@TempData["ok"]
} @foreach (var x in Model) { } @if (!Model.Any()) { }
Icon Class URL Order Edit Delete
@x.icon @x.url @x.sort_order Edit @using (Html.BeginForm("socialicondelete", "admin", new { id = x.id }, FormMethod.Post, new { onsubmit = "return confirm('Delete this icon?');" })) { @Html.AntiForgeryToken() }
No social icons yet.
Create New Icon