diff --git a/templates/register.html b/templates/register.html index 0019f55..7272dc0 100644 --- a/templates/register.html +++ b/templates/register.html @@ -1,12 +1,12 @@ {{define "register"}} - - Registration + + Registration - {{template "head"}} - - - - - -
-
- -
+ success: function() { + window.location.href = "/api/v1/restricted"; + }, + error: function() { + $('#invalidCredentials').show(); + } + }); + }); + + + + +
+ + +

- -
+ +
- +
-
+
Username already exists -
+
- - -
- + + +
+ {{end}} \ No newline at end of file