register.blade.php 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. @extends('backend.layouts.blank')
  2. @section('content')
  3. <div class="h-100 bg-cover bg-center py-5 d-flex align-items-center" style="background-image: url({{ uploaded_asset(get_setting('admin_login_background')) }})">
  4. <div class="container">
  5. <div class="row">
  6. <div class="col-lg-6 col-xl-4 mx-auto">
  7. <div class="card text-left">
  8. <div class="card-header">{{ translate('Create a New Account') }}</div>
  9. <div class="card-body">
  10. <form method="POST" action="{{ route('register') }}">
  11. @csrf
  12. <div class="form-group">
  13. <input id="name" type="text" class="form-control{{ $errors->has('name') ? ' is-invalid' : '' }}" name="name" value="{{ old('name') }}" required autofocus placeholder="{{ translate('Full Name') }}">
  14. @if ($errors->has('name'))
  15. <span class="invalid-feedback" role="alert">
  16. <strong>{{ $errors->first('name') }}</strong>
  17. </span>
  18. @endif
  19. </div>
  20. <div class="form-group">
  21. <input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" required placeholder="{{ translate('password') }}">
  22. @if ($errors->has('password'))
  23. <span class="invalid-feedback" role="alert">
  24. <strong>{{ $errors->first('password') }}</strong>
  25. </span>
  26. @endif
  27. </div>
  28. <div class="form-group">
  29. <input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}" required placeholder="{{ translate('Email') }}">
  30. @if ($errors->has('email'))
  31. <span class="invalid-feedback" role="alert">
  32. <strong>{{ $errors->first('email') }}</strong>
  33. </span>
  34. @endif
  35. </div>
  36. <div class="form-group">
  37. <input id="password-confirm" type="password" class="form-control" name="password_confirmation" required placeholder="{{ translate('Confrim Password') }}">
  38. </div>
  39. <div class="checkbox pad-btm text-left">
  40. <input id="demo-form-checkbox" class="magic-checkbox" type="checkbox" required>
  41. <label for="demo-form-checkbox">{{translate('I agree with the Terms and Conditions')}}</label>
  42. </div>
  43. <button type="submit" class="btn btn-primary btn-lg btn-block">
  44. {{ translate('Register') }}
  45. </button>
  46. </form>
  47. <div class="mt-3">
  48. {{translate('Already have an account')}} ? <a href="{{route('login')}}" class="btn-link mar-rgt text-bold">{{translate('Sign In')}}</a>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. @endsection