Skip to content

Commit

Permalink
Update password an email components
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Aug 23, 2020
1 parent 98879cd commit 21815b5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<div class="mt-1 rounded-md shadow-sm">
@php($borderColor = $errors->getBag('default')->has('email') ? 'border-red-500' : 'border-gray-300')
<x-input-email required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} border-gray-300 rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
<x-email required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} border-gray-300 rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
</div>

<x-error field="email" class="text-red-500 text-xs italic mt-4"/>
Expand All @@ -23,7 +23,7 @@

<div class="mt-1 rounded-md shadow-sm">
@php($borderColor = $errors->getBag('default')->has('password') ? 'border-red-500' : 'border-gray-300')
<x-input-password required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
<x-password required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
</div>

<x-error field="password" class="text-red-500 text-xs italic mt-4"/>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/auth/passwords/confirm.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<div class="mt-1 rounded-md shadow-sm">
@php($borderColor = $errors->getBag('default')->has('password') ? 'border-red-500' : 'border-gray-300')
<x-input-password required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} border-gray-300 rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
<x-password required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} border-gray-300 rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
</div>

<x-error field="password" class="text-red-500 text-xs italic mt-4"/>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/auth/passwords/email.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<div class="mt-1 rounded-md shadow-sm">
@php($borderColor = $errors->getBag('default')->has('email') ? 'border-red-500' : 'border-gray-300')
<x-input-email required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} border-gray-300 rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
<x-email required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} border-gray-300 rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
</div>

<x-error field="email" class="text-red-500 text-xs italic mt-4"/>
Expand Down
6 changes: 3 additions & 3 deletions resources/views/auth/passwords/reset.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<div class="mt-1 rounded-md shadow-sm">
@php($borderColor = $errors->getBag('default')->has('email') ? 'border-red-500' : 'border-gray-300')
<x-input-email required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} border-gray-300 rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
<x-email required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} border-gray-300 rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
</div>

<x-error field="email" class="text-red-500 text-xs italic mt-4"/>
Expand All @@ -18,7 +18,7 @@

<div class="mt-1 rounded-md shadow-sm">
@php($borderColor = $errors->getBag('default')->has('password') ? 'border-red-500' : 'border-gray-300')
<x-input-password required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
<x-password required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
</div>

<x-error field="password" class="text-red-500 text-xs italic mt-4"/>
Expand All @@ -28,7 +28,7 @@
<x-label for="password_confirmation" class="block text-sm font-medium leading-5 text-gray-700"/>

<div class="mt-1 rounded-md shadow-sm">
<x-input-password name="password_confirmation" required class="appearance-none block w-full px-3 py-2 border border-gray-300 rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
<x-password name="password_confirmation" required class="appearance-none block w-full px-3 py-2 border border-gray-300 rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
</div>
</div>

Expand Down
6 changes: 3 additions & 3 deletions resources/views/auth/register.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<div class="mt-1 rounded-md shadow-sm">
@php($borderColor = $errors->getBag('default')->has('email') ? 'border-red-500' : 'border-gray-300')
<x-input-email required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} border-gray-300 rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
<x-email required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} border-gray-300 rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
</div>

<x-error field="email" class="text-red-500 text-xs italic mt-4"/>
Expand All @@ -34,7 +34,7 @@

<div class="mt-1 rounded-md shadow-sm">
@php($borderColor = $errors->getBag('default')->has('password') ? 'border-red-500' : 'border-gray-300')
<x-input-password required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
<x-password required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
</div>

<x-error field="password" class="text-red-500 text-xs italic mt-4"/>
Expand All @@ -45,7 +45,7 @@

<div class="mt-1 rounded-md shadow-sm">
@php($borderColor = $errors->getBag('default')->has('password_confirmation') ? 'border-red-500' : 'border-gray-300')
<x-input-password name="password_confirmation" required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
<x-password name="password_confirmation" required class="appearance-none block w-full px-3 py-2 border {{ $borderColor }} rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5"/>
</div>

<x-error field="password_confirmation" class="text-red-500 text-xs italic mt-4"/>
Expand Down

0 comments on commit 21815b5

Please sign in to comment.