37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
extends ../layout.pug
|
|
block title
|
|
|Icy Network - Change User Email
|
|
|
|
block body
|
|
.container.mt-4.mb-4
|
|
nav(aria-label="breadcrumb")
|
|
ol.breadcrumb
|
|
li.breadcrumb-item
|
|
a(href="/") Home
|
|
li.breadcrumb-item
|
|
a(href="/user/manage") User Settings
|
|
li.breadcrumb-item.active(aria-current="page") Change Email Address
|
|
h1 Change Your Email Address
|
|
if message.text
|
|
if message.error
|
|
.alert.alert-danger
|
|
span #{message.text}
|
|
else
|
|
.alert.alert-success
|
|
span #{message.text}
|
|
form#loginForm(method="POST", action="")
|
|
input(type="hidden", name="csrf", value=csrf)
|
|
if email
|
|
.form-group
|
|
label(for="email") Current Email Address
|
|
input.form-control(type="email", name="email", id="email")
|
|
small Email Hint: #{email}
|
|
.form-group
|
|
label(for="email_new") New Email Address
|
|
input.form-control(type="email", name="email_new", id="email_new")
|
|
if password
|
|
.form-group
|
|
label(for="password") Password
|
|
input.form-control(type="password", name="password", id="password")
|
|
button.btn.btn-primary(type="submit") Done
|