pull/758/head
Jamie.Rees 8 years ago
parent b55f1ed231
commit ded1723934

@ -4,10 +4,14 @@
@{ @{
var baseUrl = Html.GetBaseUrl(); var baseUrl = Html.GetBaseUrl();
var formAction = "/admin/authentication"; var formAction = "/admin/authentication";
var usermanagement = "/usermanagement";
if (!string.IsNullOrEmpty(baseUrl.ToHtmlString())) if (!string.IsNullOrEmpty(baseUrl.ToHtmlString()))
{ {
formAction = "/" + baseUrl.ToHtmlString() + formAction; formAction = "/" + baseUrl.ToHtmlString() + formAction;
usermanagement = "/" + baseUrl.ToHtmlString() + usermanagement;
} }
} }
<div class="col-sm-8 col-sm-push-1"> <div class="col-sm-8 col-sm-push-1">
<form class="form-horizontal" method="POST" action="@formAction" id="mainForm"> <form class="form-horizontal" method="POST" action="@formAction" id="mainForm">
@ -50,7 +54,7 @@
<br /> <br />
<a href="/@Html.GetBaseUrl()/usermanagement/" class="btn btn-info-outline">User Management</a> <a href="@usermanagement" class="btn btn-info-outline">User Management</a>
<br /> <br />
<br /> <br />

Loading…
Cancel
Save