<form class="row g-3 auto-width publisher" action="{{route('publishers.store')}}" method="post" enctype='multipart/form-data'>
    @csrf
    <div class="col-md-12">
        <label for="validationCustomTitle" class="form-label">Publisher Name <span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" name="name" id="fname" placeholder="Publisher Name" required="">
        @if ($errors->has('title'))
        <span class="text-danger">{{ $errors->first('title') }}</span>
        @endif
        <span class="text-danger error_name" style="display: none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <label for="validationCustomTitle" class="form-label">Publisher Phone <span class="text-danger"><b></b></span></label>
        <input type="number" class="form-control" name="phone" id="fname" placeholder="Phone" required="">
        @if ($errors->has('title'))
        <span class="text-danger">{{ $errors->first('title') }}</span>
        @endif
        <span class="text-danger error_name" style="display: none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <label for="validationCustomTitle" class="form-label">Publisher Email <span class="text-danger"><b></b></span></label>
        <input type="email" class="form-control" name="email" id="fname" placeholder="Email" required="">
        @if ($errors->has('title'))
        <span class="text-danger">{{ $errors->first('title') }}</span>
        @endif
        <span class="text-danger error_name" style="display: none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <div>
            <label class="form-label">Place <span class="text-danger"><b></b></span></label>
        </div>
       
            <select class="single-select" id="country" name="place_id">
                <option value=" "> Select Place</option>
                @foreach($places as $list)
                <option value="{{ $list->id}}">{{$list->place}}</option>
                @endforeach
            </select>
        

    </div>
</form>
