mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add authentication view for billing portal v3
This commit is contained in:
parent
1a2f6ea48d
commit
631b7f7b25
32
resources/views/billing-portal/v3/authentication.blade.php
Normal file
32
resources/views/billing-portal/v3/authentication.blade.php
Normal file
@ -0,0 +1,32 @@
|
||||
<div>
|
||||
@if (session()->has('message'))
|
||||
@component('portal.ninja2020.components.message')
|
||||
{{ session('message') }}
|
||||
@endcomponent
|
||||
@endif
|
||||
|
||||
@if($state['code'] === false)
|
||||
<form wire:submit="authenticate">
|
||||
@csrf
|
||||
|
||||
<label for="email_address">
|
||||
<span class="input-label">{{ ctrans('texts.email_address') }}</span>
|
||||
<input wire:model="email" type="email" class="input w-full" />
|
||||
|
||||
@error('email')
|
||||
<p class="validation validation-fail block w-full" role="alert">
|
||||
{{ $message }}
|
||||
</p>
|
||||
@enderror
|
||||
</label>
|
||||
|
||||
<button
|
||||
type="submit"
|
||||
class="button button-block bg-primary text-white mt-4">
|
||||
{{ ctrans('texts.next') }}
|
||||
</button>
|
||||
</form>
|
||||
@else
|
||||
<p>We have sent a code to {{ $email }} enter this code to proceed.</p>
|
||||
@endif
|
||||
</div>
|
Loading…
x
Reference in New Issue
Block a user