blob: 92bb7809598dc3739a08ff35ee0dae8fcdb02116 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{% extends "base.tmpl" %}
{% block title %}Profile{% endblock %}
{% block page_contents %}
<div class="row">
<div class="col-12"><h2>Edit Profile</h2></div>
<div class="col-12"><hr style="border: 1px solid rgba(0, 0, 0, 1)"/></div>
</div>
<form action="profile.php" method="post">
<div class="row">
<div class="col-12 col-sm-4 col-md-3 col-lg-2">Username</div>
<div class="col-12 col-sm-8 col-md-9 col-lg-10">{{ sess_info.login_member.username }}</div>
<div class="col-12 col-sm-4 col-md-3 col-lg-2">Email</div>
<div class="col-12 col-sm-8 col-md-9 col-lg-10"><input type="email" name="email" value="{{ sess_info.login_member.email | escape('html_attr') }}" /></div>
<div class="col-12 col-sm-4 col-md-3 col-lg-2">Full name</div>
<div class="col-12 col-sm-8 col-md-9 col-lg-10"><input type="text" name="fullname" value="{{ sess_info.login_member.full_name | escape('html_attr') }}" /></div>
<div class="col-12 col-sm-4 col-md-3 col-lg-2">Old Password</div>
<div class="col-12 col-sm-8 col-md-9 col-lg-10"><input type="password" name="old_passwd" /></div>
<div class="col-12 col-sm-4 col-md-3 col-lg-2">New Password</div>
<div class="col-12 col-sm-8 col-md-9 col-lg-10"><input type="password" name="new_passwd" /></div>
<div class="col-12"><button class="btn btn-success" type="submit">Update</button></div>
</div>
{% endblock %}
|