Skip to content

Commit

Permalink
Fix Registration Alert.
Browse files Browse the repository at this point in the history
  • Loading branch information
takielias committed Sep 16, 2024
1 parent 3851d23 commit 18acc16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<span class="fas fa-envelope"></span>
</div>
</div>
<x-aim-admin::utils.input-error :messages="$errors->get('email')" class="mt-2"/>
</div>
<div class="input-group mb-3">
<input type="password" class="form-control" name="password" placeholder="Password">
Expand All @@ -21,6 +22,7 @@
<span class="fas fa-lock"></span>
</div>
</div>
<x-aim-admin::utils.input-error :messages="$errors->get('password')" class="mt-2"/>
</div>
<div class="row">
<div class="col-8">
Expand Down
5 changes: 4 additions & 1 deletion resources/views/auth/register.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<div class="text-center">
<h3 class="mb-3">User Registration</h3>
</div>
<x-aim-admin::utils.error :messages="$errors" class="mt-2"/>
<form method="POST" action="{{ route('registration') }}">
@csrf
<div class="mb-3">
Expand All @@ -19,6 +18,7 @@
<i class="fa fa-envelope"></i>
</span>
</div>
<x-aim-admin::utils.input-error :messages="$errors->get('name')" class="mt-2"/>
</div>
</div>

Expand All @@ -30,6 +30,7 @@
<span class="fas fa-envelope"></span>
</div>
</div>
<x-aim-admin::utils.input-error :messages="$errors->get('email')" class="mt-2"/>
</div>
<div class="input-group mb-3">
<input type="password" class="form-control" name="password" placeholder="Password">
Expand All @@ -38,6 +39,7 @@
<span class="fas fa-lock"></span>
</div>
</div>
<x-aim-admin::utils.input-error :messages="$errors->get('password')" class="mt-2"/>
</div>

<div class="input-group mb-3">
Expand All @@ -47,6 +49,7 @@
<span class="fas fa-lock"></span>
</div>
</div>
<x-aim-admin::utils.input-error :messages="$errors->get('password_confirmation')" class="mt-2"/>
</div>
<div class="d-grid mb-3">
<button class="btn btn-primary w-100" type="submit">Register</button>
Expand Down

0 comments on commit 18acc16

Please sign in to comment.