| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | @include '../layout/head.html' |
| 5 | </head> |
| 6 | <body> |
| 7 | @include '../layout/header.html' |
| 8 | |
| 9 | .form-error { |
| 10 | @ctx.form_error |
| 11 | } |
| 12 | |
| 13 | <div class="content"> |
| 14 | <h1>User settings</h1> |
| 15 | |
| 16 | <a href="/${ctx.user.username}/settings">Public profile</a> |
| 17 | | |
| 18 | <a href="/${ctx.user.username}/settings/ssh-keys">SSH keys</a> |
| 19 | |
| 20 | <form class="form" action="/@ctx.user.username/settings" method="post"> |
| 21 | <div class="field"> |
| 22 | <input type="text" name="full_name" value="@ctx.user.full_name" placeholder="Full name"> |
| 23 | </div> |
| 24 | <div class="field"> |
| 25 | <input type="text" name="name" value="@ctx.user.username" placeholder="Username"> |
| 26 | </div> |
| 27 | <div class="field"> |
| 28 | <input type="submit" value="Save settings"> |
| 29 | </div> |
| 30 | </form> |
| 31 | </div> |
| 32 | |
| 33 | @js '/js/block-form.js' |
| 34 | @include '../layout/footer.html' |
| 35 | </body> |
| 36 | </html> |
| 37 | |