@using Nancy.Security @using PlexRequests.UI.Helpers @{ var baseUrl = Html.GetBaseUrl(); var formAction = string.Empty; if (!string.IsNullOrEmpty(baseUrl.ToHtmlString())) { formAction = "/" + baseUrl.ToHtmlString(); } }