{{ __('shop.open_your_shop') }}

{!! Form::open(['url' => route('user_shop_register_form'), 'class' => 'form-horizontal' , 'id'=>'data-shop-form-validations']) !!} @php $shop_name_btn_color = 'btn-secondary'; $shop_name_fa = ''; $shop_name_form_control = ''; @endphp @if(Session::has('shop-name-error')) @if(Session::get('shop-name-error') == 'check') @php $shop_name_btn_color = 'btn-success'; $shop_name_fa = 'fa-check'; $shop_name_form_control = ' is-valid'; @endphp @endif @if(Session::get('shop-name-error') == 'error') @php $shop_name_btn_color = 'btn-danger'; $shop_name_fa = 'fa-times'; $shop_name_form_control = ' is-invalid'; @endphp @endif @endif

{{ __('shop.open_copy_1') }}

{{ __('shop.open_copy_2') }}

{{ __('shop.open_note_hl') }}
{{ __('shop.open_note_1') }}

{{ Form::text('user_shop_name', old('user_shop_name'), array('placeholder'=>__('shop.your_shop_name'), 'class'=>'form-control'.$shop_name_form_control.($errors->has('user_shop_name') ? ' is-invalid' : ''), 'id'=>'user_shop_name', 'tabindex' => 2)) }}
@if ($errors->has('user_shop_name')) {{ $errors->first('user_shop_name') }} @endif
{{ Form::text('preview_user_shop_name', '', array('placeholder'=>__('shop.preview_shop_internet_address'), 'class'=>'form-control', 'id'=>'preview_user_shop_name', 'readonly')) }}
@if ($errors->has('user_shop_active')) {{ $errors->first('user_shop_active') }} @endif

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