@using Nancy.Security @using Nancy.Security @using Ombi.Helpers.Permissions @using Ombi.UI.Helpers @using Ombi.UI.Resources @{ var baseUrl = Html.GetBaseUrl(); var formAction = string.Empty; var isAdmin = Html.HasAnyPermission(true, Permissions.Administrator, Permissions.ManageRequests); if (!string.IsNullOrEmpty(baseUrl.ToHtmlString())) { formAction = "/" + baseUrl.ToHtmlString(); } }