BootstrapAdmin/Bootstrap.Admin/Views/Shared/SubMenu.cshtml

12 lines
263 B
Plaintext

@model Menu
<ul>
<li>
<p>@Model.Name</p>
</li>
@foreach (var menu in Model.Menus)
{
<li><a href="@Url.Content(menu.Url)" data-act="@menu.Url.StartsWith("~")"><i class="@menu.Icon"></i>@menu.Name</a></li>
}
</ul>