@extends('admin.layouts.app') @section('tab_name', trans('titles.car_years')) @section('css') @endsection @section('content') @include('admin.layouts.title', [ 'subTitle' => $item->id ? trans('attributes.edit') . '#' . $item->id : trans('attributes.add'), 'title' => trans('titles.car_years'), ])
@if ($item->id)
@else @endif @csrf @if (!empty($locales)) @foreach ($locales as $key => $locale)
@if ($errors->has('title.' . $key)) {{ $errors->first('title.' . $key) }} @else
@lang('validation.required', [ 'attribute' => strtolower($locale) . '' . trans('attributes.title'), ])
@endif
@endforeach @endif
@if ($errors->has('position')) {{ $errors->first('position') }} @endif
@if ($errors->has('active')) {{ $errors->first('active') }} @endif

@lang('attributes.cancel')
@endsection @section('scripts') @endsection