Skip to content

Instantly share code, notes, and snippets.

@thrasibule
Created June 14, 2017 00:17
Show Gist options
  • Save thrasibule/a5a5a8015eeb25f47118674975a575e4 to your computer and use it in GitHub Desktop.
Save thrasibule/a5a5a8015eeb25f47118674975a575e4 to your computer and use it in GitHub Desktop.
{{template "header" .}}
<form method=post action="/settings">
<section>
<h2>Profile</h2>
<div class="row">
<div class="form-element">
<input name="name" id="name" type="text" value={{.UserName}}>
<label for="name">Name</label>
</div>
<div class="form-element">
<input name="email" id="email" type="text" value={{.Email}}>
<label for="email">Email</label>
</div>
</div>
</section>
<section>
<h2>Last.fm</h2>
<div class="row">
<div class="form-element">
<input name="lfm_name" id="lfm_name" type="text" value={{.LfmName}}>
<label for="lfm_name">Username</label>
</div>
<div class="form-element">
<input name="lfm_password" id="lfm_password" type="password" autocomplete="current-password">
<label for="lfm_password">Password</label>
</div>
</div>
</section>
<div class="row">
<input type="submit" value="SAVE">
</div>
</form>
{{template "footer"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment