From e83ae1de159776599d2c8d4f63a40bf5188472f4 Mon Sep 17 00:00:00 2001 From: Nikolay Nizruhin Date: Fri, 19 Apr 2019 18:01:01 +0300 Subject: [PATCH] Update auth stubs with @error blade directive --- .../Console/stubs/make/views/auth/login.stub | 16 ++++++------- .../make/views/auth/passwords/email.stub | 8 +++---- .../make/views/auth/passwords/reset.stub | 16 ++++++------- .../stubs/make/views/auth/register.stub | 24 +++++++++---------- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub b/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub index 3e9d6f7791b7..c12b97e57731 100644 --- a/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub +++ b/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub @@ -15,13 +15,13 @@
- + - @if ($errors->has('email')) + @error('email') - {{ $errors->first('email') }} + {{ $message }} - @endif + @enderror
@@ -29,13 +29,13 @@
- + - @if ($errors->has('password')) + @error('password') - {{ $errors->first('password') }} + {{ $message }} - @endif + @enderror
diff --git a/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/email.stub b/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/email.stub index 15ee4e4245f0..1fea98456d83 100644 --- a/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/email.stub +++ b/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/email.stub @@ -21,13 +21,13 @@
- + - @if ($errors->has('email')) + @error('email') - {{ $errors->first('email') }} + {{ $message }} - @endif + @enderror
diff --git a/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/reset.stub b/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/reset.stub index f0cc401a08b5..989931d3a20f 100644 --- a/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/reset.stub +++ b/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/reset.stub @@ -17,13 +17,13 @@
- + - @if ($errors->has('email')) + @error('email') - {{ $errors->first('email') }} + {{ $message }} - @endif + @enderror
@@ -31,13 +31,13 @@
- + - @if ($errors->has('password')) + @error('password') - {{ $errors->first('password') }} + {{ $message }} - @endif + @enderror
diff --git a/src/Illuminate/Auth/Console/stubs/make/views/auth/register.stub b/src/Illuminate/Auth/Console/stubs/make/views/auth/register.stub index 92c416ea2cf0..d236a48ecb6d 100644 --- a/src/Illuminate/Auth/Console/stubs/make/views/auth/register.stub +++ b/src/Illuminate/Auth/Console/stubs/make/views/auth/register.stub @@ -15,13 +15,13 @@
- + - @if ($errors->has('name')) + @error('name') - {{ $errors->first('name') }} + {{ $message }} - @endif + @enderror
@@ -29,13 +29,13 @@
- + - @if ($errors->has('email')) + @error('email') - {{ $errors->first('email') }} + {{ $message }} - @endif + @enderror
@@ -43,13 +43,13 @@
- + - @if ($errors->has('password')) + @error('password') - {{ $errors->first('password') }} + {{ $message }} - @endif + @enderror