git-svn-id: svn://losandesgames.com/alfheim-website@11 15359d88-9307-4e75-a9c1-e5686e5897df
This commit is contained in:
1 parent
e27424c0f5
commit
f4862b4f5d
6 files changed
+116
-29
No files matched your search
@@ -5,4 +5,12 @@
|
||||
<div>Last name: {{.Account.Lastname}}</div>
|
||||
<div>Color: {{.Account.Color}}</div>
|
||||
</div>
|
||||
|
||||
<div class="wrapper">
|
||||
<form action="/deleteaccount" method="post">
|
||||
<div class="login-btn-wrapper">
|
||||
<input type="submit" value="Delete Account" class="btn">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{{end}}
|
||||
@@ -3,6 +3,10 @@
|
||||
<form method="POST">
|
||||
<h1>Log in</h1>
|
||||
|
||||
{{with .FormErrors.generic}}
|
||||
<label class="error">{{.}}</label>
|
||||
{{end}}
|
||||
|
||||
{{with .FormErrors.username}}
|
||||
<label class="error">{{.}}</label>
|
||||
{{end}}
|
||||
|
||||
+4
-4
@@ -3,11 +3,11 @@
|
||||
<form method="POST">
|
||||
<h1>Register</h1>
|
||||
|
||||
{{with .Formerrors.username}}
|
||||
{{with .FormErrors.username}}
|
||||
<label class="error">{{.}}</label>
|
||||
{{end}}
|
||||
|
||||
<div class="input-box" {{with .Formerrors.username}}class="input-error"{{end}}>
|
||||
<div class="input-box" {{with .FormErrors.username}}class="input-error"{{end}}>
|
||||
<input type="text" id="username" name="username" placeholder="Username" required>
|
||||
</div>
|
||||
<br />
|
||||
@@ -28,11 +28,11 @@
|
||||
</div>
|
||||
<br />
|
||||
|
||||
{{with .Formerrors.password}}
|
||||
{{with .FormErrors.password}}
|
||||
<label class="error">{{.}}</label>
|
||||
{{end}}
|
||||
|
||||
<div class="input-box" {{with .Formerrors.password}}class="input-error"{{end}}>
|
||||
<div class="input-box" {{with .FormErrors.password}}class="input-error"{{end}}>
|
||||
<input type="password" id="password" name="password" placeholder="Password" required>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
Reference in new issue
Block a user