@extends('layout') @section('content') @if(session('registration_failed'))
{{ session('success') }}
@endif
Register
@csrf
@if ($errors->has('first-name')) {{ $errors->first('first-name') }} @endif
@if ($errors->has('last-name')) {{ $errors->first('last-name') }} @endif
@if ($errors->has('phn')) {{ $errors->first('phn') }} @endif
{{-- --}} @if ($errors->has('gender')) {{ $errors->first('gender') }} @endif
@if ($errors->has('dob')) {{ $errors->first('dob') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if (session('success')) @endif @endsection