diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-08-01 19:48:26 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-08-01 19:48:26 -0300 |
| commit | d84651a899a6104fce73d95b9c571627c55e5d16 (patch) | |
| tree | bbaf7f7646dec22dc9fdb0f136d5ba5534b1fddf /templates/character_create.tmpl | |
| download | web-d84651a899a6104fce73d95b9c571627c55e5d16.tar.gz web-d84651a899a6104fce73d95b9c571627c55e5d16.zip | |
bare bones website
Diffstat (limited to 'templates/character_create.tmpl')
| -rw-r--r-- | templates/character_create.tmpl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/character_create.tmpl b/templates/character_create.tmpl new file mode 100644 index 0000000..c243f2d --- /dev/null +++ b/templates/character_create.tmpl @@ -0,0 +1,23 @@ +{{template "_header.tmpl" .Common}} + <form class="box" action="/character/create" method="POST"> + <h1>Create Account</h1> + + <label for="character_name">NAME</label> + <input id="character_name" type="text" name="name"/> + + <label for="character_sex">SEX</label> + <select id="character_sex" name="sex"> + <option value="1">MALE</option> + <option value="2">FEMALE</option> + </select> + + <label for="character_world">WORLD</label> + <select id="character_world" name="world"> + {{range .Worlds}} + <option value="{{.Name}}">{{.Name}} ({{.Type}})</option> + {{end}} + </select> + + <input type="submit" value="Create"/> + </form> +{{template "_footer.tmpl" .Common}}
\ No newline at end of file |
