<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<body>
<div class="row">

</div>
<div class="container center">
    <div class="z-depth-1 indigo lighten-5 row" style="display: inline-block; padding: 28px 28px 0px 48px; border: 1px solid #EEE;">

        <form class="col s12" method="post" onsubmit=" return validatePassword('<?php echo $msg_equal_password?>')" action="<?php echo base_url()?>registro/changePassword/?email=<?php if(isset($_GET['email']))echo $_GET['email']?>" >
            <div class="row">
                <div class="col s12">

                </div>
            </div>

            <div class="row">
                <div class="input-field col s12">
                    <input style="width: 250px;" class="validate" type="password" name="password1" id="password1" required/>
                    <label for="email"><?php echo $msg_enter_new_password;?></label>
                </div>
            </div>
            <div class="row">
                <div class="input-field col s12">
                    <input class="validate" type="password" name="password2" id="password2" required/>
                    <label for="email"><?php echo $msg_repeat_password;?></label>
                </div>
            </div>

            <center>
                <div class="row">
                    <button type="submit" name="btn_login" class="col s12 btn btn-large waves-effect indigo"><?php echo $btn_change_password; ?></button>

                </div>
            </center>
        </form>

    </div>
</div>
<div class="section"></div>
<div class="section"></div>
<div class="section"></div>
<div class="section"></div>
<div class="section"></div>

</body>
