暫無描述

login.blade.php 3.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. @extends('layouts.app')
  2. @section('content')
  3. <div class="container">
  4. <div class="row justify-content-center">
  5. <div class="col-md-8">
  6. <div class="card">
  7. <div class="card-header">{{ __('Login') }}</div>
  8. <div class="card-body">
  9. <form method="POST" action="{{ route('login') }}">
  10. @csrf
  11. <div class="form-group row">
  12. <label for="email" class="col-md-4 col-form-label text-md-right">{{ __('E-Mail Address') }}</label>
  13. <div class="col-md-6">
  14. <input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
  15. @error('email')
  16. <span class="invalid-feedback" role="alert">
  17. <strong>{{ $message }}</strong>
  18. </span>
  19. @enderror
  20. </div>
  21. </div>
  22. <div class="form-group row">
  23. <label for="password" class="col-md-4 col-form-label text-md-right">{{ __('Password') }}</label>
  24. <div class="col-md-6">
  25. <input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">
  26. @error('password')
  27. <span class="invalid-feedback" role="alert">
  28. <strong>{{ $message }}</strong>
  29. </span>
  30. @enderror
  31. </div>
  32. </div>
  33. <div class="form-group row">
  34. <div class="col-md-6 offset-md-4">
  35. <div class="form-check">
  36. <input class="form-check-input" type="checkbox" name="remember" id="remember" {{ old('remember') ? 'checked' : '' }}>
  37. <label class="form-check-label" for="remember">
  38. {{ __('Remember Me') }}
  39. </label>
  40. </div>
  41. </div>
  42. </div>
  43. <div class="form-group row mb-0">
  44. <div class="col-md-8 offset-md-4">
  45. <button type="submit" class="btn btn-primary">
  46. {{ __('Login') }}
  47. </button>
  48. @if (Route::has('password.request'))
  49. <a class="btn btn-link" href="{{ route('password.request') }}">
  50. {{ __('Forgot Your Password?') }}
  51. </a>
  52. @endif
  53. </div>
  54. </div>
  55. </form>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. @endsection