@extends('layout.default') @if($mode == 'edit') @section('title', $__t('Edit location')) @else @section('title', $__t('Create location')) @endif @section('viewJsName', 'locationform') @section('content')

@yield('title')


@if($mode == 'edit') @endif
{{ $__t('A name is required') }}
@if(GROCY_FEATURE_FLAG_STOCK_PRODUCT_FREEZING)
is_freezer == 1) checked @endif class="form-check-input custom-control-input" type="checkbox" id="is_freezer" name="is_freezer" value="1">
@else @endif @include('components.userfieldsform', array( 'userfields' => $userfields, 'entity' => 'locations' ))
@stop