From 621533e050a75b4c21ea7caf2372a83e432cdaa8 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Mon, 3 Jun 2019 20:47:18 +0900 Subject: [PATCH 1/2] New register form --- BTCPayServer/Views/Account/Register.cshtml | 85 ++++++++++++---------- 1 file changed, 46 insertions(+), 39 deletions(-) diff --git a/BTCPayServer/Views/Account/Register.cshtml b/BTCPayServer/Views/Account/Register.cshtml index 0b164f2e7..99235e521 100644 --- a/BTCPayServer/Views/Account/Register.cshtml +++ b/BTCPayServer/Views/Account/Register.cshtml @@ -4,47 +4,54 @@ }
-
-
-
- -
-
-
-
-

@ViewData["Title"]

-
-
-
-
-

Create a new account.

-
-
-
- - - -
-
- - - -
-
- - - -
- @if (ViewData["AllowIsAdmin"] is true) - { +
+
From ab0511aa1dfa641bf797edd2fc594a2936b894aa Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Mon, 3 Jun 2019 21:01:48 +0900 Subject: [PATCH 2/2] Make is admin checkbox inline --- BTCPayServer/Views/Account/Register.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Views/Account/Register.cshtml b/BTCPayServer/Views/Account/Register.cshtml index 99235e521..3c80b8019 100644 --- a/BTCPayServer/Views/Account/Register.cshtml +++ b/BTCPayServer/Views/Account/Register.cshtml @@ -43,7 +43,7 @@ {
- +
}