@extends('apps::dashboard.layouts.app') @section('title', __('variation::dashboard.options.routes.update')) @section('content') @include('variation::dashboard.html.option_values_html',['id' => '::index'])

@csrf @method('PUT')
{{-- RIGHT SIDE --}} {{-- PAGE CONTENT --}}
{{-- UPDATE FORM --}}

{{__('variation::dashboard.options.form.tabs.general')}}

@foreach (config('translatable.locales') as $code)
@endforeach
@foreach(\Modules\Variation\Entities\Option::typesForSelect() as $type => $display_name) @endforeach
status == 1) ? ' checked="" ' : ''}}>
option_as_filter == 1) ? ' checked="" ' : ''}}>
@if ($option->trashed())
@endif

{{__('variation::dashboard.options.form.tabs.option_values')}}

@foreach ($option->values as $key => $optionValues) @include('variation::dashboard.html.option_values_html',['id' => $optionValues->id,'model' => $optionValues,'option_type' => $option->value_type]) @endforeach
{{-- END UPDATE FORM --}}
{{-- PAGE ACTION --}}
@include('apps::dashboard.layouts._ajax-msg')
@stop @section('scripts') @stop