68 lines
2.4 KiB
PHP
68 lines
2.4 KiB
PHP
|
<x-header />
|
||
|
|
||
|
|
||
|
<!-- Contact Section Begin -->
|
||
|
<section class="contact spad">
|
||
|
<div class="container">
|
||
|
<div class="row">
|
||
|
|
||
|
<div class="col-lg-6 col-md-6 mx-auto">
|
||
|
<div class="section-title">
|
||
|
<h2>Create New Account</h2>
|
||
|
</div>
|
||
|
<div class="contact__form">
|
||
|
|
||
|
@if (session('success'))
|
||
|
<div class="alert alert-success">
|
||
|
{{ session('success') }}
|
||
|
</div>
|
||
|
@endif
|
||
|
|
||
|
@if (session('error'))
|
||
|
<div class="alert alert-danger">
|
||
|
{{ session('error') }}
|
||
|
</div>
|
||
|
@endif
|
||
|
|
||
|
@if ($errors->any())
|
||
|
<div class="alert alert-danger">
|
||
|
<ul>
|
||
|
@foreach ($errors->all() as $error)
|
||
|
<li>{{ $error }}</li>
|
||
|
@endforeach
|
||
|
</ul>
|
||
|
</div>
|
||
|
@endif
|
||
|
|
||
|
<form action="{{ URL::to('registerUser') }}" method="POST" enctype="multipart/form-data">
|
||
|
@csrf
|
||
|
<div class="row">
|
||
|
<div class="col-lg-12">
|
||
|
<input type="text" name="name" id="name" placeholder="Name">
|
||
|
</div>
|
||
|
<div class="col-lg-12">
|
||
|
<input type="email" name="email" id="email" placeholder="Email">
|
||
|
</div>
|
||
|
<div class="col-lg-12">
|
||
|
<input type="file" name="file">
|
||
|
</div>
|
||
|
<div class="col-lg-12">
|
||
|
<input type="password" name="password" id="password" placeholder="Password">
|
||
|
</div>
|
||
|
<div class="col-lg-12">
|
||
|
|
||
|
<button type="submit" class="site-btn">Sign Up</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</section>
|
||
|
<!-- Contact Section End -->
|
||
|
|
||
|
<!-- Footer Section Begin -->
|
||
|
<x-footer />
|
||
|
<!-- Footer Section End -->
|