@using System.Linq @using PlexRequests.Core.Models @using PlexRequests.Helpers @using PlexRequests.Helpers.Permissions @using PlexRequests.UI.Helpers @{ var baseUrl = Html.GetBaseUrl(); var formAction = string.Empty; if (!string.IsNullOrEmpty(baseUrl.ToHtmlString())) { formAction = "/" + baseUrl.ToHtmlString(); } var isAdmin = Html.HasAnyPermission((int)Permissions.Administrator) || Html.HasAnyPermission((int)Permissions.ManageRequests); }