@extends('layouts.main') @section('title') {{__("Custom Fields")}} @endsection @section('page-title')

@yield('title')

@endsection @section('content')
< {{__("Back to Custom Fields")}} @if(in_array($custom_field->type,['radio','checkbox','dropdown'])) + {{__("Add Options")}} @endif
@method('PUT') @csrf
{{__("Create Custom Field")}}
@if(in_array($custom_field->type,['radio','checkbox','dropdown']))
{{__("This will be applied only for")}}: {{__("Checkboxes").",".__("Radio")}} and {{__("Dropdown")}} .
@endif @if(in_array($custom_field->type,['textbox','fileinput','number']))
{{__("This will be applied only for")}}: {{__("text").",".__("number")}} {{__("and")}} {{__("textarea")}} .
{{__("This will be applied only for")}}: {{__("text").",".__("number")}} {{__("and")}} {{__("textarea")}} .
@endif
{{__("(use 256 x 256 size for better view)")}}}
required ? 'checked' : '' }}>{{ __('Required') }}
status ? 'checked' : '' }}>{{ __('Active') }}
{{__("Category")}}
@foreach ($categories as $category)
@if (!empty($category->subcategories)) @endif
@endforeach
@if(in_array($custom_field->type,['radio','checkbox','dropdown']))
{{ __('ID') }} {{ __('Value') }} {{ __('Action') }}
@endif {{-- add modal --}} @if(in_array($custom_field->type,['radio','checkbox','dropdown'])) {{-- edit modal --}}
@endsection @section('js') @endsection