@extends('admin.layouts.app') @section('content')

{{ $section->title }}

{{-- @include('admin.components.alert') --}}
{!! Form::model($country, ['route' => $section->route, 'class' => 'form-validate', 'files' => true, 'enctype' => 'multipart/form-data', 'autocomplete' => 'off']) !!} @method($section->method)
{!! Form::text('name', null, ['class' => 'form-control', 'placeholder' => 'Country Name', 'required' => 'required', 'id' => 'name']) !!}
@if ($errors->has('name'))

{{ $errors->first('name') }}

@endif
{{--
{!! Form::file('image', ['class' => 'custom-file-input', 'id' => 'customFile']) !!}
@if ($errors->has('image'))

{{ $errors->first('image') }}

@endif
--}} {{--
{!! Form::text('zip_code', null, ['class' => 'form-control', 'placeholder' => 'Zip Code', 'required' => 'required', 'id' => 'zip']) !!}
@if($errors->has('zip_code'))

{{ $errors->first('zip_code') }}

@endif
--}} {{--
{!! Form::text('phone_number', null, ['class' => 'form-control', 'placeholder' => 'Phone Number', 'required' => 'required', 'id' => 'phone']) !!}
@if($errors->has('phone_number'))

{{ $errors->first('phone_number') }}

@endif
--}} {{--
{!! Form::text('city', null, ['class' => 'form-control', 'placeholder' => 'City', 'required' => 'required', 'id' => 'city']) !!}
--}} {{--
{!! Form::text('state', null, ['class' => 'form-control', 'placeholder' => 'state', 'required' => 'required', 'id' => 'city']) !!}
--}} @if($section->method == "PUT")
{!! Form::select('status', ['1' => 'Active', '0' => 'Inactive'], null, ['class' => 'form-control form-select select2']); !!}
@endif
{!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-outline-primary']) !!}
{!! Form::close() !!}
@section('scripts') @endsection @endsection