0% found this document useful (0 votes)
33 views4 pages

Registration Blade

The document contains code for a registration form with fields for first name, last name, email, age, address, gender, phone number, password, and department. It includes validation for the form fields and options to submit the registration or link to the login page. Styling is applied using Bootstrap classes. Upon submission, the data will be sent via a POST request to the Register route.

Uploaded by

cyberlez12345
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views4 pages

Registration Blade

The document contains code for a registration form with fields for first name, last name, email, age, address, gender, phone number, password, and department. It includes validation for the form fields and options to submit the registration or link to the login page. Styling is applied using Bootstrap classes. Upon submission, the data will be sent via a POST request to the Register route.

Uploaded by

cyberlez12345
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

@extends('layouts.themes.

login')
@section('content')

<section class="ftco-section" id="login-user">


@include('layouts.partials.alerts')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12 col-lg-10">
<div class="wrap d-md-flex">
<div class="img" style="background-image:
url({{ asset('assets/images/bg-logo.jpg') }});"></div>
<div class="login-wrap p-4 p-md-4">
<div class="d-flex justify-content-center">
<img src="{{ asset('assets/images/logo-
nccc.png') }}"
class="img-fluid profile-image-pic img-
thumbnail rounded-circle my-3" width="100px"
alt="profile">
</div>
<div class="d-flex justify-content-center">
<h3 class="text-center mb-3" style="color:rgb(21,
0, 255); font-weight: 800;">NCCC</h3>

</div>
<div>
<h3 class="text-center mb-3" style="color:rgb(10,
10, 13); font-weight: 800;">Registration
</h3>
</div>
{{-- <p>Please sign in by entering the information
below.</p> --}}
@if (session('error'))
<div class="alert alert-danger mt-5" role="alert">
{{ session('error') }}
</div>
@endif
<form action="{{ route('Register') }}" method="POST">
@csrf
<div class="row">
<div class="col-md-12">
<label for="First_name">Firstname</label>
<input class="form-control" type="text" id=
"First_name" name="First_name"
value="{{ old('First_name') }}"
required />
<span class="text-danger">
@error('First_name')
{{ $message }}
@enderror
</span>
</div>
<div class="col-md-12">
<label for="Last_name">Lastname</label>
<input class="form-control" type="text" id=
"Last_name" name="Last_name"
value="{{ old('Last_name') }}" required
/>
<span class="text-danger">
@error('Last_name')
{{ $message }}
@enderror
</span>
</div>
<div class="col-md-12">
<label for="email">Email</label>
<input class="form-control" type="text" id=
"email" name="email"
value="{{ old('email') }}" required />
<span class="text-danger">
@error('email')
{{ $message }}
@enderror
</span>
</div>
<div class="col-md-12">
<label for="Age">Age</label>
<input class="form-control" type="number"
id= "Age" name="Age"
value="{{ old('Age') }}" required />
<span class="text-danger">
@error('Address')
{{ $message }}
@enderror
</span>
</div>
<div class="col-md-12 mt-2 mb-2">
<label for="Address">Address</label>
<input class="form-control" type="text"
name="Address"
value="{{ old('Address') }}"
required />
<span class="text-danger">
@error('Address')
{{ $message }}
@enderror
</span>
</div>
<div class="col-md-12">
<label>Gender</label>
<select class="form-control" name="Gender"
required>
<option value=" ">Select
gender</option>
<option value="female">Female</option>
<option value="male">Male</option>
</select>
@error('Gender')
{{ $message }}
@enderror
</span>
</div>
<div class="col-md-12">
<label for="Phone">Phone</label>
<input class="form-control" type="number"
id= "Phone" name="Phone"
value="{{ old('Phone') }}" required />
<span class="text-danger">
@error('Phone')
{{ $message }}
@enderror
</span>
</div>
<div class="col-md-12">
<label for="password">Password</label>
<input class="form-control" type="password"
id= "password" name="password"
value="{{ old('password') }}"
required />
<span class="text-danger">
@error('password')
{{ $message }}
@enderror
</span>
</div>
<div class="col-md-12">
<label>Department</label>
<select class="form-control"
name="Accountname" required>
@foreach ($tests as $test)
<option value="{{$test-
>Account_id}}">{{$test->Account_name}}</option>
@endforeach

</select>
@error('Gender')
{{ $message }}
@enderror
</span>
</div>
<div class="col-md-12 col-sm-12 mb-3">
<p class="text-right"><a
href="resetpassword"
style="font-size: 15px;
color:#171717">Forgot Password ?</a></p>
</div>
<div class="col-md-12 col-sm-12 mb-4">
<button class="btn btn-secondary btn-block"
style="background-
color:#00508d;color:white;" type="submit">
<i class="fa fa-sign-in"></i> Register
</button>
</div>
</div>
</form>
<div class="row">
<div class="col-12">
<hr class="mt-5 mb-4 border-secondary-subtle">
<div class="d-flex gap-4 justify-content-center">
<p>Back <a href="/" class="link-secondary text-
info text-decoration-none">Log in</a>.</p>
{{-- <a href="#!" class="link-secondary text-
decoration-none">Register</a> --}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
@endsection

You might also like