@extends('layouts.load') @section('content')
{{ csrf_field() }}

* {{ __('indicates a required field') }}

@include('includes.admin.form-both')
@component('admin.components.input-localized', ['required' => true, 'from' => $attr]) @slot('name') name @endslot @slot('placeholder') {{ __('Enter Name') }} @endslot @slot('value') name @endslot {{ __('Name') }} * @endcomponent

{{ __('Options') }}

{{ __('Option') }} *

@if ($gs->is_attr_cards)
@endif {{-- --}}

{{ __('Option') }} *

@foreach ($locales as $loc) @if ($loc->locale === $lang->locale) @continue @endif
@endforeach
@if ($gs->is_attr_cards)
@foreach ($locales as $loc) @if ($loc->locale === $lang->locale) @continue @endif
@endforeach
@endif
@if ($errors->has('options.*') || $errors->has('options'))

{{ $errors->first('options.*') }}

{{ $errors->first('options') }}

@endif
price_status == 1 ? 'checked' : '' }} value="1">
{{ __('Show price field when creating a Product.') }}
show_price == 1 ? 'checked' : '' }} value="1">
{{ __('Show price on product details at the store.') }}
details_status == 1 ? 'checked' : '' }} value="1">
{{ __('Show the attribute itself on product details at the store.') }}
@endsection @section('scripts') @endsection