-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
218 additions
and
204 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
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
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
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
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
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
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 |
---|---|---|
@@ -1,54 +1,41 @@ | ||
@extends('auth.layout', ['title' => __mc('Log in')]) | ||
|
||
@section('content') | ||
<h1 class="markup-h2">{{ __mc('Log in') }}</h1> | ||
|
||
<form class="form-grid" method="POST" action="{{ route('login') }}"> | ||
@csrf | ||
|
||
<div class="form-field"> | ||
@error('email') | ||
<p class="form-error" role="alert"> | ||
{{ $message }} | ||
</p> | ||
@enderror | ||
|
||
<label for="email" class="label">{{ __mc('Email') }}</label> | ||
|
||
<input id="email" type="email" class="input @error('email') is-invalid @enderror" name="email" | ||
value="{{ old('email') }}" required autocomplete="email" autofocus> | ||
</div> | ||
|
||
<div class="form-field"> | ||
@error('password') | ||
<p class="form-error" role="alert"> | ||
{{ $message }} | ||
</p> | ||
@enderror | ||
|
||
<label for="password" class="label">{{ __mc('Password') }}</label> | ||
|
||
<input id="password" type="password" class="input @error('password') is-invalid @enderror" | ||
name="password" required autocomplete="current-password"> | ||
<x-mailcoach::layout :title="__mc('Login')" hide-footer hide-nav> | ||
<div class="flex flex-col gap-6 justify-center mt-12"> | ||
<div class="w-20 mx-auto"> | ||
@include('mailcoach::app.layouts.partials.logoSvg') | ||
</div> | ||
|
||
<div class="form-field"> | ||
<label class="checkbox-label" for="remember"> | ||
<input class="checkbox" type="checkbox" name="remember" id="remember" | ||
{{ old('remember') ? 'checked' : '' }}> | ||
|
||
{{ __mc('Remember me next time') }} | ||
</label> | ||
</div> | ||
|
||
<x-mailcoach::form-buttons> | ||
<x-mailcoach::button :label="__mc('Log in')" /> | ||
|
||
@if (Route::has('forgot-password')) | ||
<a class="link ml-2" href="{{ route('forgot-password') }}"> | ||
{{ __mc('Forgot Your Password?') }} | ||
</a> | ||
@endif | ||
</x-mailcoach::form-buttons> | ||
</form> | ||
@endsection | ||
<x-mailcoach::fieldset class="w-full max-w-md mx-auto" card :legend="__mc('Log in')"> | ||
<form class="form-grid" method="POST" action="{{ route('login') }}"> | ||
@csrf | ||
|
||
<x-mailcoach::text-field | ||
:label="__mc('Email')" | ||
name="email" | ||
type="email" | ||
autofocus | ||
autocomplete="email" | ||
required | ||
/> | ||
|
||
<x-mailcoach::text-field | ||
:label="__mc('Password')" | ||
name="password" | ||
type="password" | ||
autocomplete="current-password" | ||
required | ||
/> | ||
|
||
<x-mailcoach::form-buttons> | ||
<x-mailcoach::button :label="__mc('Log in')" /> | ||
|
||
@if (Route::has('forgot-password')) | ||
<a class="ml-3" href="{{ route('forgot-password') }}"> | ||
<x-mailcoach::button-link | ||
:label="__mc('Forgot Your Password?')" | ||
/> | ||
</a> | ||
@endif | ||
</x-mailcoach::form-buttons> | ||
</form> | ||
</x-mailcoach::fieldset> | ||
</div> | ||
</x-mailcoach::layout> |
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 |
---|---|---|
@@ -1,25 +1,25 @@ | ||
@extends('auth.layout', ['title' => __mc('Forgot password?')]) | ||
@section('content') | ||
<h1 class="markup-h2">{{ __mc('Forgot password?') }}</h1> | ||
|
||
<form class="form-grid" method="POST" action="{{ route('password.email') }}"> | ||
@csrf | ||
|
||
<div class="form-field"> | ||
@error('email') | ||
<p class="form-error" role="alert"> | ||
{{ $message }} | ||
</p> | ||
@enderror | ||
|
||
<label for="email" class="label">{{ __mc('Email') }}</label> | ||
|
||
<input id="email" type="email" class="input @error('email') is-invalid @enderror" name="email" | ||
value="{{ old('email') }}" required autocomplete="email" autofocus> | ||
<x-mailcoach::layout :title="__mc('Forgot password?')" hide-footer hide-nav> | ||
<div class="flex flex-col gap-6 justify-center mt-12"> | ||
<div class="w-20 mx-auto"> | ||
@include('mailcoach::app.layouts.partials.logoSvg') | ||
</div> | ||
<x-mailcoach::fieldset class="w-full max-w-md mx-auto" card :legend="__mc('Forgot password?')"> | ||
<form class="form-grid" method="POST" action="{{ route('password.email') }}"> | ||
@csrf | ||
|
||
<x-mailcoach::text-field | ||
:label="__mc('Email')" | ||
name="email" | ||
type="email" | ||
autofocus | ||
autocomplete="email" | ||
required | ||
/> | ||
|
||
<x-mailcoach::form-buttons> | ||
<x-mailcoach::button :label="__mc('Send password reset link')" /> | ||
</x-mailcoach::form-buttons> | ||
</form> | ||
@endsection | ||
<x-mailcoach::form-buttons> | ||
<x-mailcoach::button :label="__mc('Send password reset link')" /> | ||
</x-mailcoach::form-buttons> | ||
</form> | ||
</x-mailcoach::fieldset> | ||
</div> | ||
</x-mailcoach::layout> |
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 |
---|---|---|
@@ -1,50 +1,43 @@ | ||
@extends('auth.layout', ['title' => __mc('Reset password')]) | ||
@section('content') | ||
<h1 class="markup-h2">{{ __mc('Reset Password') }}</h1> | ||
|
||
<form class="form-grid" method="POST" action="{{ route('password.update') }}"> | ||
@csrf | ||
|
||
<input type="hidden" name="token" value="{{ $token }}"> | ||
|
||
<div class="form-field"> | ||
<label for="email" class="label">{{ __mc('Email') }}</label> | ||
|
||
<div> | ||
{{ $email ?? old('email') }} | ||
</div> | ||
</div> | ||
|
||
<input id="email" type="hidden" class="input @error('email') is-invalid @enderror" name="email" | ||
value="{{ $email ?? old('email') }}" required autocomplete="email"> | ||
|
||
<div class="form-field"> | ||
@error('password') | ||
<p class="form-error" role="alert"> | ||
{{ $message }} | ||
</p> | ||
@enderror | ||
|
||
<label for="password" class="label">{{ __mc('Password') }}</label> | ||
|
||
<div class="col-md-6"> | ||
<input id="password" type="password" class="input @error('password') is-invalid @enderror" | ||
name="password" autofocus required autocomplete="new-password"> | ||
|
||
</div> | ||
<x-mailcoach::layout :title="__mc('Reset password')" hide-footer hide-nav> | ||
<div class="flex flex-col gap-6 justify-center mt-12"> | ||
<div class="w-20 mx-auto"> | ||
@include('mailcoach::app.layouts.partials.logoSvg') | ||
</div> | ||
|
||
<div class="form-field"> | ||
<label for="password-confirm" | ||
class="label">{{ __mc('Confirm password') }}</label> | ||
|
||
<input id="password-confirm" type="password" class="input" name="password_confirmation" | ||
required | ||
autocomplete="new-password"> | ||
</div> | ||
|
||
<x-mailcoach::form-buttons> | ||
<x-mailcoach::button :label="__mc('Reset Password')" /> | ||
</x-mailcoach::form-buttons> | ||
</form> | ||
@endsection | ||
<x-mailcoach::fieldset class="w-full max-w-md mx-auto" card :legend="__mc('Reset password')"> | ||
<form class="form-grid" method="POST" action="{{ route('password.update') }}"> | ||
@csrf | ||
|
||
<input type="hidden" name="token" value="{{ $token }}"> | ||
|
||
<x-mailcoach::text-field | ||
:label="__mc('Email')" | ||
name="email" | ||
type="email" | ||
autocomplete="email" | ||
:value="request('email') ?? old('email')" | ||
required | ||
/> | ||
|
||
<x-mailcoach::text-field | ||
:label="__mc('Password')" | ||
name="password" | ||
type="password" | ||
autocomplete="new-password" | ||
required | ||
/> | ||
|
||
<x-mailcoach::text-field | ||
:label="__mc('Confirm password')" | ||
name="password_confirmation" | ||
type="password" | ||
autocomplete="new-password" | ||
required | ||
/> | ||
|
||
<x-mailcoach::form-buttons> | ||
<x-mailcoach::button :label="__mc('Reset Password')" /> | ||
</x-mailcoach::form-buttons> | ||
</form> | ||
</x-mailcoach::fieldset> | ||
</div> | ||
</x-mailcoach::layout> |
Oops, something went wrong.
Possible cause for issue #1617?