uhhhh
This commit is contained in:
parent
2843aec125
commit
dea8968f6b
11 changed files with 276 additions and 39 deletions
|
@ -1,5 +1,5 @@
|
|||
{{#*inline "page"}}
|
||||
<h1>Error</h1>
|
||||
<p>An internal error occurred. Sorry :(</p>
|
||||
<p>Error: {{message}}</p>
|
||||
{{/inline}}
|
||||
{{> root.hbs}}
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{{#*inline "page"}}
|
||||
<h1>New user</h1>
|
||||
{{#if message}}
|
||||
<div>
|
||||
{{message}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<form method="POST">
|
||||
<label>Username <input type="text" name="username" /></label>
|
||||
<label>Password <input type="password" name="password" /></label>
|
||||
|
|
13
templates/new_user_confirm.hbs
Normal file
13
templates/new_user_confirm.hbs
Normal file
|
@ -0,0 +1,13 @@
|
|||
{{#*inline "page"}}
|
||||
<h1>New user created!</h1>
|
||||
{{#if message}}
|
||||
<div>
|
||||
{{message}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<ul>
|
||||
<li>ID: {{new_user.id}}</li>
|
||||
<li>Username: {{new_user.username}}</li>
|
||||
</ul>
|
||||
{{/inline}}
|
||||
{{> root.hbs}}
|
Loading…
Add table
Add a link
Reference in a new issue