@extends('layout.default') @if($mode == 'edit') @section('title', $__t('Edit location')) @else @section('title', $__t('Create location')) @endif @section('viewJsName', 'locationform') @section('grocyConfigProps') EditMode: '{{ $mode }}', @if($mode == 'edit') EditObjectId: {{ $location->id }}, @endif @endsection @section('content')