@extends('admin.layout') @section('content')

{{ translate('Attribut options') }}

@if (sizeof($AttributOption) > 0)
@foreach ($AttributOption as $key => $option) @endforeach
{{ translate('Attribute') }} {{ translate('Title') }} {{ translate('Options') }}
{{ $option->attribute_id == null ? translate('-----') : $option->attribute->getTranslation('title') }} {{ $option->getTranslation('title') }}
@else

{{ translate('There is nothing you are looking for') }}

{{ translate('Add new Attribut Option to your store') }}

@endif
{{ $AttributOption->links() }}

{{ translate('Add attribut option') }}

{!! Form::open(['method' => 'post', 'action' => 'Admin\AttributOptionController@store', 'files' => true]) !!}
{!! Form::select('attribute_id', $Attributes, null, ['class' => 'form-control select2', 'placeholder' => translate('Attribute')]) !!}
@error('attribute_id')
{{ $message }}
@enderror
{!! Form::text('title', null, ['class' => 'form-control', 'placeholder' => translate('Title')]) !!}
@error('title')
{{ $message }}
@enderror
{!! Form::Close() !!}
@endsection @section('script') @endsection