@extends('front.layout')
@section('title','Customer Register')
@section('body')
<section class="hero">
    <div><h1>Customer Register</h1><p>Create customer lead/profile for RapidSewa mobile app.</p></div>
    <form class="card" method="post" action="{{ route('front.customer.store') }}">
        @csrf
        @if(session('status'))<div class="status">{{ session('status') }}</div>@endif
        <div class="field"><label>Name</label><input name="name" required></div>
        <div class="field"><label>Phone</label><input name="phone" required></div>
        <div class="field"><label>Email</label><input name="email"></div>
        <div class="field"><label>Address</label><textarea name="address_line_1" required></textarea></div>
        <div class="field"><label>Pincode</label><input name="pincode"></div>
        <button type="submit">Submit Customer</button>
    </form>
</section>
@endsection
