@extends('layouts/contentNavbarLayout') @section('title', 'Community Create') @section('page-style') @endsection @section('content')

Home / Community Create

Details
{!! Form::label('name', 'Community Name', ['class' => 'form-label']) !!} {!! Form::text('name', @$community->name, ['class' => 'form-control', 'placeholder' => 'Community Name']) !!}
{!! Form::label('community_id', 'Community ID', ['class' => 'form-label']) !!} {!! Form::text('community_id', $community_id, ['class' => 'form-control', 'placeholder' => 'CI00001', 'readonly']) !!}
{{-- Additional Fields Here --}}
{!! Form::label('address', 'Address', ['class' => 'form-label']) !!}
{!! Form::label('street', 'Street', ['class' => 'col-sm-2']) !!} {!! Form::text('street', @$community->street, ['class' => 'form-control', 'placeholder' => 'Street', 'required']) !!}
{!! Form::label('city', 'City', ['class' => 'col-sm-2']) !!} {!! Form::text('city', @$community->city, ['class' => 'form-control', 'placeholder' => 'City', 'required']) !!}
{!! Form::label('state', 'State', ['class' => 'col-sm-2']) !!} {!! Form::text('state', @$community->state, ['class' => 'form-control', 'placeholder' => 'State', 'required']) !!}
{!! Form::label('zip', 'Zip', ['class' => 'col-sm-2']) !!} {!! Form::text('zip_code', @$community->zip_code, ['class' => 'form-control', 'placeholder' => 'Zip Code', 'required']) !!}
{{-- Continue converting other fields in a similar manner --}}
{!! Form::label('primary_contact_number', 'Primary contact', ['class' => 'form-label']) !!} {!! Form::tel('primary_contact_number', @$community->primary_contact_number, ['class' => 'form-control', 'placeholder' => '332-322-4433', 'required']) !!}
{!! Form::label('secondary_contact_number', 'Secondary contact', ['class' => 'form-label']) !!} {!! Form::tel('secondary_contact_number', @$community->secondary_contact_number, ['class' => 'form-control', 'placeholder' => '332-322-4433']) !!}
{{-- More Fields --}}
Manager Info
{!! Form::label('manager_name', "Manager's Name", ['class' => 'form-label']) !!} {!! Form::text('manager_name', @$community->manager->name, ['class' => 'form-control', 'placeholder' => 'John Doe', 'required']) !!}
{!! Form::label('email', "Manager's Email", ['class' => 'form-label']) !!} {!! Form::email('email', @$community->manager->email, ['class' => 'form-control', 'placeholder' => 'jhon@xyz.com', 'autocomplete' => 'email']) !!}
{!! Form::label('phone_number', "Manager's Phone Number", ['class' => 'form-label']) !!} {!! Form::tel('phone_number', @$community->manager->phone_number, ['class' => 'form-control', 'placeholder' => '332-322-4433']) !!}
{!! Form::label('username', "Manager's Username", ['class' => 'form-label']) !!} {!! Form::text('username', @$community->manager->username, ['class' => 'form-control', 'placeholder' => 'John Doe']) !!}
{!! Form::label('password', "Manager's Password", ['class' => 'form-label']) !!} {!! Form::password('password', ['class' => 'form-control', 'placeholder' => 'Password', 'id' => 'myPassword']) !!}
{!! Form::label('confirm_password', "Confirm Password", ['class' => 'form-label']) !!} {!! Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => 'Password']) !!}
{!! Form::label('emergency_contact_number', "Emergency Contact Number", ['class' => 'form-label']) !!} {!! Form::tel('emergency_contact_number', @$community->manager->emergency_contact_number, ['class' => 'form-control', 'placeholder' => '332-322-4433']) !!}
Specifications
{!! Form::label('parking_spot', 'Number of Parking Spots', ['class' => 'form-label']) !!} {!! Form::number('number_of_parking_spots', @$community->number_of_parking_spots, ['class' => 'form-control', 'placeholder' => '50']) !!}
{{--
{!! Form::label('parking_type', 'Type of Parking', ['class' => 'form-label']) !!} {!! Form::select('type_of_parking[]', ['covered' => 'Covered', 'open' => 'Open', 'reserved' => 'Reserved', 'multi_level' => 'Multi Level'], @$community->type_of_parking, ['class' => 'form-control', 'multiple' => true]) !!}
--}}
{!! Form::label('community_size', 'Community Size', ['class' => 'form-label']) !!} {!! Form::select('community_size', ['small' => 'Small', 'medium' => 'Medium', 'large' => 'Large'], @$community->community_size, ['class' => 'form-control form-select']) !!}
Plans
{!! Form::label('community_plan', 'Select a Plan', ['class' => 'form-label']) !!} {!! Form::select('community_plan', $plans, @$community->community_plan, ['class' => 'form-control form-select']) !!}
Legal & Compliance
{!! Form::checkbox('terms_and_conditions_accepted', 1, @$community->terms_and_conditions_accepted, ['class' => 'form-check-input', 'id' => 'termsConditionsCheck', 'required']) !!}
{!! Form::checkbox('privacy_policy_accepted', 1, @$community->privacy_policy_accepted, ['class' => 'form-check-input', 'id' => 'privacyPolicyCheck', 'required']) !!}
Verification Documents
{!! Form::label('community_legal_status', "Community's legal status", ['class' => 'form-label']) !!} {!! Form::file('community_legal_status', ['class' => 'form-control', 'multiple']) !!}
{!! Form::label('manager_identity', "Manager's identity", ['class' => 'form-label']) !!} {!! Form::file('manager_identity', ['class' => 'form-control', 'multiple']) !!}
{!! Form::label('other_related_docs', 'Other related docs', ['class' => 'form-label']) !!} {!! Form::file('other_related_docs', ['class' => 'form-control', 'multiple']) !!}
Additional Notes
{!! Form::label('note', 'Notes', ['class' => 'form-label']) !!} {!! Form::textarea('note', @$community->note, ['class' => 'form-control', 'placeholder' => "John Doe's note", 'aria-label' => 'With textarea', 'style' => 'height: 220px;']) !!}
@endsection @section('page-script') @endsection