@extends('admin.layouts.app') @push('styles_top') @endpush @section('content') {{ $pageTitle }} {{ trans('admin/main.dashboard') }} {{ trans('update.specifications') }} {{ $pageTitle }} {{ csrf_field() }} @if(!empty(getGeneralSettings('content_translate'))) {{ trans('auth.language') }} @foreach($userLanguages as $lang => $language) get('locale', app()->getLocale())) == mb_strtolower($lang)) selected @endif>{{ $language }} @endforeach @error('locale') {{ $message }} @enderror @else @endif {{ trans('/admin/main.title') }} @error('title') {{ $message }} @enderror {{ trans('admin/main.categories') }} @error('category') {{ $message }} @enderror @foreach($categories as $category) @if(!empty($category->subCategories) and count($category->subCategories)) {{ $category->title }} @foreach($category->subCategories as $subCategory) id,$selectedCategories)) ? 'checked' : '' }}> {{ $subCategory->title }} @endforeach @else id,$selectedCategories)) ? 'checked' : '' }}> {{ $category->title }} @endif @endforeach {{ trans('update.input_type') }}: input_type) and $specification->input_type == 'textarea') ? 'checked="checked"' : ''}} id="textarea" class="custom-control-input"> {{ trans('update.textarea') }} input_type) and $specification->input_type == 'multi_value') ? 'checked="checked"' : ''}} class="custom-control-input"> {{ trans('update.multi_value') }} @error('input_type') {{ $message }} @enderror {{ trans('update.multi_value') }} Add @if((!empty($multiValues) and !$multiValues->isEmpty())) @foreach($multiValues as $key => $multiValue) @endforeach @endif {{ trans('admin/main.submit') }}