@extends('layouts.main') @push('styles') @endpush @section('content')

{{ __('sub_counties.edit_sub_county') }}

@include('flash::message')
{{ Form::model($sub_county, ['method' => 'PUT', 'route' => ['subcounties.update',$sub_county], 'data-toggle' => 'validator']) }}
{{ Form::label('county_id', __('sub_counties.county')) }} {{ Form::select('county_id', $counties, $sub_county->county_id, ['class' => 'form-control compulsory' , 'required', 'id' => 'county']) }}
{{ Form::label('name', __('sub_counties.sub_county_name')) }} {{ Form::text('name', $sub_county->name, ['class' => 'form-control compulsory', 'required']) }}
{{ Form::button(__('sub_counties.submit'),['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10']) }} {{ Form::button(__('sub_counties.cancel'),['type'=>'reset','class'=>'btn btn-default waves-effect waves-light']) }} {{ Form::close() }}
@endsection @push('scripts') @endpush