Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 39 additions & 15 deletions application/views/auth/forgot_password.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,40 @@
<h1 class="page-title"><?php echo t('forgot_password');?></h1>
<?php if ($message):?>
<div class="error"><?php echo $message;?></div>
<?php endif;?>

<p><?php echo t('enter_email_to_reset_password');?></p>

<form method="post" class="form" autocomplete="off">

<div class="field">
<label for="email"><?php echo t('email');?></label>
<?php echo form_input($email);?>
<?php echo form_submit('submit', t('submit'));?>
</div>

<script type="text/javascript">
if (top.frames.length!=0) {
top.location=self.document.location;
}
</script>
<style>
.fp-form{
width: 100%;
max-width: 420px;
padding: 15px;
margin: auto;
}
.privacy-info{
font-size:smaller;
}
</style>

<div class="fp-form">
<h1 class="page-title"><?php echo t('forgot_password');?></h1>
<?php if ($message):?>
<div class="error"><?php echo $message;?></div>
<?php endif;?>

<p><?php echo t('enter_email_to_reset_password');?></p>

<form method="post" class="form" autocomplete="off">
<div style="padding:5px;">
<div class="form-group">
<!--<label for="email"><?php echo t('email');?>:</label>-->
<input class="form-control" name="email" type="text" id="email" value="" placeholder="<?php echo t('email');?>" />
</div>
<div class="text-center">
<input type="submit" name="submit" value="<?php echo t('submit');?>" class="btn btn-primary btn-block"/>

</div>
</div>

</div>

<?php echo form_close();?>