<x-input value="{{ isset($location) ? $location->name : old('name') }}" name="name" :label="__('lang.name')" :required="1" autofocus/>
<x-input type="textarea" value="{{ isset($location) ? $location->details : old('details') }}" name="details" :label="__('lang.details')"/>
