Skip to content

Commit

Permalink
Use the same notation for email as Laravel Framework does (#217)
Browse files Browse the repository at this point in the history
Co-authored-by: Aarjan <alangereis@laadpastop10.nl>
  • Loading branch information
madman-81 and Aarjan authored Jan 20, 2022
1 parent 6d20804 commit f124752
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Auth/bootstrap-stubs/auth/login.stub
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@csrf

<div class="row mb-3">
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('E-Mail Address') }}</label>
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('Email Address') }}</label>

<div class="col-md-6">
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
Expand Down
2 changes: 1 addition & 1 deletion src/Auth/bootstrap-stubs/auth/passwords/email.stub
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@csrf

<div class="row mb-3">
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('E-Mail Address') }}</label>
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('Email Address') }}</label>

<div class="col-md-6">
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
Expand Down
2 changes: 1 addition & 1 deletion src/Auth/bootstrap-stubs/auth/passwords/reset.stub
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<input type="hidden" name="token" value="{{ $token }}">

<div class="row mb-3">
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('E-Mail Address') }}</label>
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('Email Address') }}</label>

<div class="col-md-6">
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ $email ?? old('email') }}" required autocomplete="email" autofocus>
Expand Down
2 changes: 1 addition & 1 deletion src/Auth/bootstrap-stubs/auth/register.stub
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</div>

<div class="row mb-3">
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('E-Mail Address') }}</label>
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('Email Address') }}</label>

<div class="col-md-6">
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email">
Expand Down

0 comments on commit f124752

Please sign in to comment.