1
0
Fork 0
mirror of synced 2024-07-07 15:36:19 +12:00
appwrite/app/views/home/auth/recovery.phtml

32 lines
1.4 KiB
PHTML
Raw Normal View History

2019-05-09 18:54:39 +12:00
<?php
use Utopia\Locale\Locale;
?>
<div class="zone medium">
<h1 class="zone xl margin-bottom-large margin-top">
<?php echo $this->escape(Locale::getText('home.auth.recovery.title')); ?>
</h1>
<small class="pull-end">* <?php echo $this->escape(Locale::getText('home.auth.recovery.required')); ?></small>
<form name="recovery"
data-appwrite="auth.recovery"
data-scope="console"
data-event="submit"
data-success="alert"
data-success-alert="<?php echo $this->escape(Locale::getText('home.auth.recovery.success')); ?>"
data-error="alert"
data-error-alert="<?php echo $this->escape(Locale::getText('home.auth.recovery.failure')); ?>">
<label><?php echo $this->escape(Locale::getText('home.auth.recovery.labels.email')); ?></label>
<input name="email" type="email" class="full-width" autocomplete="email" placeholder="me@example.com" required>
2019-05-10 04:15:51 +12:00
<input name="redirect" type="hidden" data-ls-bind="https://{{env.DOMAIN}}/auth/recovery/reset" />
2019-05-09 18:54:39 +12:00
<button type="submit" class="btn btn-primary"><i class="fa fa-sign-in"></i> <?php echo $this->escape(Locale::getText('home.auth.recovery.action')); ?></button>
</form>
</div>
<div class="zone medium">
<a href="/auth/signin"><?php echo $this->escape(Locale::getText('home.auth.recovery.back')); ?></a>
</div>