@extends('admin.layouts.app') @section('title', 'Country') @section('content')

{{ __('Country') }}

@can('country-create')

Create Country

@csrf @method('POST')
@include('admin.partials.form-errors', array('field' => 'name'))
@endcan

Countries

@foreach($countries as $c) @endforeach
Name Actions
{{$c->name}} @can('country-edit') Edit @endcan @can('country-delete') {!! Form::open(['method' => 'DELETE','route' => ['country.destroy', $c->id],'style'=>'display:inline', 'onsubmit' => 'return confirm("Are you sure you want to delete this Record?")']) !!} {!! Form::submit('Delete', ['class' => 'btn btn-danger btn-sm']) !!} {!! Form::close() !!} @endcan
@endsection