@extends('layouts.layout-2')

@section('content')

    @if ($errors->any())
        <div class="row">
            <div class="col-sm-12">
                <div class="alert alert-danger">
                    <ul>
                        @foreach ($errors->all() as $error)
                            <li>{{ $error }}</li>
                        @endforeach
                    </ul>
                </div>
            </div>
        </div>
    @endif

    <h4 class="font-weight-bold py-2 mb-2">
        <div>{{ __('navigation.my_shop') }} / {{ __('navigation.settings') }}</div>
    </h4>

    {!! Form::open(['action' => route('user_shop_store'), 'class' => 'form-horizontal', 'id'=>"user-shop-form-validations"]) !!}

    @include('user.shop.form')

    <div class="text-left mt-0 mb-2">
        <button type="submit" class="btn btn-submit" name="action" value="save-user-shop">Shop {{ __('navigation.settings') }} {{ __('save') }}</button>&nbsp;
    </div>

    {!! Form::close() !!}

    <script>
        $( document ).ready(function() {
    
        });
    </script>

@endsection
