wefra-odoo11/themes/materialize/views/my-profile.php

60 lines
1.9 KiB
PHP
Raw Normal View History

2019-10-02 21:28:58 +00:00
<div class="container">
<div class="section">
<div class="row">
<div class="card col s12 m4">
<div class="card-content">
<span class="card-title">Change password</span>
<form action="#" class="col s12" method="post">
<div class="row">
<div class="input-field col s12">
<input id="oldPassword" name="oldPassword" type="password" class="validate">
<label for="oldPassword">Old password</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input id="newPassword" name="newPassword" type="password" class="validate">
<label for="newPassword">New Password</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input id="confirmPassword" name="confirmPassword" type="password" class="validate">
<label for="confirmPassword">Confirm New Password</label>
</div>
</div>
<div class="row">
<div class="col s12">
<input class="btn btn-success button_action" type="submit" id="submit_change_password" name="submit_change_password"
value="Submit new password"/>
</div>
</div>
</form>
<!--ENDOF form change-password-->
</div>
</div>
<!--ENDOF .card .col-->
<div class="card col s12 m8">
<div class="card-content">
<span class="card-title"><?php echo $user['name']; ?></span><span class="card-subtitle"><?php echo $user['login']; ?></span>
<!--ENDOF form change-password-->
</div>
</div>
<!--ENDOF .card .col-->
</div>
<!--ENDOF .row-->
</div>
<!--ENDOF .section-->
</div>
<!--ENDOF .container-->
<pre>
<?php
print_r($user);
?>
</pre>