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

@lang('lang.edit') @lang('models/locations.singular')

@include('adminlte-templates::common.errors')
{!! Form::model($location, ['route' => ['admin.locations.update', $location->id], 'method' => 'patch','files'=>true]) !!}
@if((\request('update_json')))
{!! Form::label('json_location', __('models/locations.fields.json').':') !!} {!! Form::textarea('json_location', null, ['class' => 'form-control']) !!}
@else @include('admin.locations.fields') @endif
{!! Form::close() !!}
@endsection