@extends('layout') @section('content') @if(session('registration_failed'))
{{ session('success') }}
@endif
@csrf

Register

@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('dob')) {{ $errors->first('dob') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@csrf {!! captcha_img() !!}
@if (session('success')) @endif @endsection