1
0
Fork 0
mirror of synced 2024-07-01 20:50:49 +12:00
appwrite/app/views/home/auth/confirm.phtml

21 lines
857 B
PHTML
Raw Normal View History

2019-05-09 18:54:39 +12:00
<?php
use Utopia\Locale\Locale;
?>
<section class="zone xl">
<form data-service="auth.confirm"
2019-05-09 18:54:39 +12:00
data-scope="console"
data-event="load"
2019-05-09 20:23:22 +12:00
data-param-token="{{router.params.token}}"
data-param-user-id="{{router.params.userId}}"
2019-05-09 18:54:39 +12:00
data-success="redirect,alert,trigger"
data-success-redirect-url="/console"
data-success-alert="<?php echo $this->escape(Locale::getText('home.auth.confirm.success')); ?>"
data-success-triggers="account.update"
data-error="alert"
data-error-alert="<?php echo $this->escape(Locale::getText('home.auth.confirm.failure')); ?>">
<h2 class="margin-bottom-small"><?php echo $this->escape(Locale::getText('home.auth.confirm.title')); ?></h2>
<p class="note"><?php echo $this->escape(Locale::getText('home.auth.confirm.subtitle')); ?></p>
</form>
</section>