-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add confirm email page for when email is missing
Signed-off-by: Sam Poyigi <[email protected]>
- Loading branch information
Showing
3 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<h1 class="card-title h4 mb-4 font-weight-normal"> | ||
@lang('igniter.socialite::default.text_confirm_email') | ||
</h1> | ||
|
||
<p>@lang('igniter.socialite::default.help_confirm_email')</p> | ||
|
||
{!! form_open([ | ||
'role' => 'form', | ||
'method' => 'POST', | ||
'data-request' => 'socialite::onConfirmEmail', | ||
]) !!} | ||
<div class="form-group"> | ||
<input | ||
name="email" | ||
type="text" | ||
id="email" | ||
class="form-control input-lg" | ||
value="{{ set_value('email') }}" | ||
placeholder="@lang('igniter.user::default.reset.label_email')" | ||
/> | ||
{!! form_error('email', '<span class="text-danger">', '</span>') !!} | ||
</div> | ||
|
||
<button | ||
type="submit" | ||
class="btn btn-primary btn-lg btn-block" | ||
>@lang('igniter.socialite::default.button_confirm')</button> | ||
{!! form_close() !!} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
return [ | ||
'text_confirm_email' => 'Confirm your email address', | ||
|
||
'button_confirm' => 'Confirm', | ||
|
||
'help_confirm_email' => '', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
title: Confirm your email address | ||
layout: default | ||
permalink: /confirm-email | ||
|
||
'[session]': | ||
security: guest | ||
|
||
'[account]': | ||
|
||
'[socialite]': | ||
--- | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-sm-6 mx-auto my-5"> | ||
<div class="card"> | ||
<div class="card-body"> | ||
@partial('socialite::confirm_email') | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |