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

{{ translate('Colors') }}

@if (sizeof($colors) > 0)
@foreach ($colors as $key => $color) @endforeach
{{ translate('Title') }} {{ translate('Code') }} {{ translate('Options') }}
{{ $color->getTranslation('title') }}
{{ $color->color_code }}
@else

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

{{ translate('Add new Color to your store') }}

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

{{ translate('Add color') }}

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