{!! Form::label('name', 'Cafe Name') !!} {!! Form::text('name', old('name'), ['class' => 'form-control']) !!} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{!! Form::label('location', 'Location') !!} {!! Form::text('location', old('location'), ['class' => 'form-control']) !!} @if ($errors->has('location')) {{ $errors->first('location') }} @endif @if ($errors->has('lat') || $errors->has('lng')) {{ 'Please select the location again.' }} @endif
{!! Form::label('website_link', 'Website Link') !!} {!! Form::text('website_link', old('website_link'), ['class' => 'form-control']) !!} @if ($errors->has('website_link')) {{ $errors->first('website_link') }} @endif
Click here
{!! Form::submit('Save', ['class' => 'btn btn-primary btn-flat']) !!} Cancel
@section('inlineJS') @endsection