説明なし

register.blade.php 3.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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">{{ __('Register') }}</div>
  8. <div class="card-body">
  9. <form method="POST" action="{{ route('register') }}">
  10. @csrf
  11. <div class="form-group row">
  12. <label for="name" class="col-md-4 col-form-label text-md-right">{{ __('Name') }}</label>
  13. <div class="col-md-6">
  14. <input id="name" type="text" class="form-control @error('name') is-invalid @enderror" name="name" value="{{ old('name') }}" required autocomplete="name" autofocus>
  15. @error('name')
  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="email" class="col-md-4 col-form-label text-md-right">{{ __('E-Mail Address') }}</label>
  24. <div class="col-md-6">
  25. <input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email">
  26. @error('email')
  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. <label for="password" class="col-md-4 col-form-label text-md-right">{{ __('Password') }}</label>
  35. <div class="col-md-6">
  36. <input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="new-password">
  37. @error('password')
  38. <span class="invalid-feedback" role="alert">
  39. <strong>{{ $message }}</strong>
  40. </span>
  41. @enderror
  42. </div>
  43. </div>
  44. <div class="form-group row">
  45. <label for="password-confirm" class="col-md-4 col-form-label text-md-right">{{ __('Confirm Password') }}</label>
  46. <div class="col-md-6">
  47. <input id="password-confirm" type="password" class="form-control" name="password_confirmation" required autocomplete="new-password">
  48. </div>
  49. </div>
  50. <div class="form-group row mb-0">
  51. <div class="col-md-6 offset-md-4">
  52. <button type="submit" class="btn btn-primary">
  53. {{ __('Register') }}
  54. </button>
  55. </div>
  56. </div>
  57. </form>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. @endsection