123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- @component('home.layouts.component', ['title' => 'ثبت حسابکاربری'])
- @slot('style')
- @endslot
- @slot('content')
- <div class="auth-background h-auto py-5">
- <div class="container py-5">
- <div class="row align-items-center">
- <div class="col-lg-6 col-md-8 mx-auto">
- <div class="card">
- <div class="card-header"><strong>{{ __('ثبت حساب کاربری') }}</strong></div>
- <div class="card-body mx-lg-5 px-lg-3">
- <form method="POST" action="{{ route('register') }}">
- @csrf
- <div class="form-group">
- <label for="name">{{ __('نام و نامخانوادگی') }}</label>
- <input id="name" type="text"
- class="form-control @error('name') is-invalid @enderror" name="name"
- value="{{ old('name') }}" required autocomplete="name" autofocus>
- @error('name')
- <span class="invalid-feedback" role="alert">
- <strong>{{ $message }}</strong>
- </span>
- @enderror
- </div>
- <div class="form-group">
- <label for="username">نام کاربری</label>
- <input id="username" type="text"
- class="form-control @error('username') is-invalid @enderror"
- name="username" value="{{ old('username') }}" required
- autocomplete="username" autofocus>
- @error('username')
- <span class="invalid-feedback" role="alert">
- <strong>{{ $message }}</strong>
- </span>
- @enderror
- </div>
- <div class="form-group">
- <label for="mobile">تلفنهمراه</label>
- <input id="mobile" type="text"
- class="form-control @error('mobile') is-invalid @enderror" name="mobile"
- value="{{ old('mobile') }}" required autocomplete="mobile" autofocus>
- @error('mobile')
- <span class="invalid-feedback" role="alert">
- <strong>{{ $message }}</strong>
- </span>
- @enderror
- </div>
- <div class="form-group">
- <label for="email">{{ __('ایمیل') }}</label>
- <input id="email" type="email"
- class="form-control @error('email') is-invalid @enderror" name="email"
- value="{{ old('email') }}" required autocomplete="email">
- @error('email')
- <span class="invalid-feedback" role="alert">
- <strong>{{ $message }}</strong>
- </span>
- @enderror
- </div>
- <div class="form-group">
- <label for="password">{{ __('رمز عبور') }}</label>
- <input id="password" type="password"
- class="form-control @error('password') is-invalid @enderror"
- name="password" required autocomplete="new-password">
- @error('password')
- <span class="invalid-feedback" role="alert">
- <strong>{{ $message }}</strong>
- </span>
- @enderror
- </div>
- <div class="form-group">
- <label for="password-confirm">{{ __('تکرار رمز عبور') }}</label>
- <input id="password-confirm" type="password" class="form-control"
- name="password_confirmation" required autocomplete="new-password">
- </div>
- <div class="form-group">
- <x-cutlet-recaptcha :has-error="$errors->has('g-recaptcha-response')"></x-cutlet-recaptcha>
- </div>
- <div class="form-group mb-0">
- <div class="">
- <button type="submit" class="btn btn-primary">
- {{ __('ثبتنام') }}
- </button>
- </div>
- </div>
- </form>
- </div>
- <div class="card-footer">
- <span><strong>قبلا ثبتنام کردهاید؟ </strong></span>
- <a class="btn btn-link" href="{{ route('login') }}">
- {{ __('ورود به حساب کاربری') }}
- </a>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- @endslot
- @slot('script')
- @endslot
- @endcomponent
|