| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- @extends('shared.layout.layout')
- @section('content')
- <div class="container">
- <div class="row justify-content-center">
- <div class="col-12 col-sm-8 col-md-6">
- <form class="form mt-5" action="{{route('register')}}" method="post">
- @csrf
- <h3 class="text-center text-dark">Register</h3>
- <div class="form-group">
- <label for="name" class="text-dark">Name:</label><br>
- <input type="text" name="name" id="name" class="form-control" value="{{request()->old('name')}}">
- @error('name')
- <span class="d-block fs-2 text-danger mt-2">{{$message}}</span>
- @enderror
- </div>
- <div class="form-group mt-3">
- <label for="email" class="text-dark">Email:</label><br>
- <input type="email" name="email" id="email" class="form-control" value="{{request()->old('email')}}">
- @error('email')
- <span class="d-block fs-2 text-danger mt-2">{{$message}}</span>
- @enderror
- </div>
- <div class="form-group mt-3">
- <label for="password" class="text-dark">Password:</label><br>
- <input type="password" name="password" id="password" class="form-control">
- @error('password')
- <span class="d-block fs-2 text-danger mt-2">{{$message}}</span>
- @enderror
- </div>
- <div class="form-group mt-3">
- <label for="confirm-password" class="text-dark">Confirm Password:</label><br>
- <input type="password" name="password_confirmation" id="password_confirmation" class="form-control">
- @error('password_confirmation')
- <span class="d-block fs-2 text-danger mt-2">{{$message}}</span>
- @enderror
- </div>
- <div class="form-group">
- <label for="remember-me" class="text-dark"></label><br>
- <input type="submit" name="submit" class="btn btn-dark btn-md" value="submit">
- </div>
- <div class="text-right mt-2">
- <a href="/login" class="text-dark">Login here</a>
- </div>
- </form>
- </div>
- </div>
- </div>
- @endsection
|