08 2024
This commit is contained in:
parent
04d677d37a
commit
bfa3bb1df4
1191 changed files with 637397 additions and 10619 deletions
66
resources/views/user/shop/translate.blade.php
Normal file
66
resources/views/user/shop/translate.blade.php
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
@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">
|
||||
{{ __('navigation.my_shop') }} {{ __('navigation.translate') }}
|
||||
</h4>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="text-right mt-0 mb-2">
|
||||
<a href="{{ route('user_shop') }}" class="btn btn-default">{{ __('back') }}</a>
|
||||
</div>
|
||||
<div class="card mb-4">
|
||||
<div class="card-body">
|
||||
{!! Form::open(['url' => route('user_shop_tanslate_store'), 'class' => 'form-horizontal', 'id'=>'']) !!}
|
||||
@foreach($localizations as $lang)
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="contact">{{ __('shop.shop_contact') }} | <strong style="text-transform: uppercase">{{ __('website.language') }} {{$lang}}</strong></label>
|
||||
{{ Form::textarea('trans['.$lang.'][contact]', $user->shop->getTrans('contact', $lang, false) , array('placeholder'=>__('shop.shop_contact'), 'class'=>'form-control', 'id'=>'contact', 'rows'=>4)) }}
|
||||
<small class="form-text text-muted">{{ __('shop.shop_contact_help') }}</small>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="accessibility">{{ __('shop.shop_accessibility') }} | <strong style="text-transform: uppercase">{{ __('website.language') }} {{$lang}}</strong></label>
|
||||
{{ Form::textarea('trans['.$lang.'][accessibility]', $user->shop->getTrans('accessibility', $lang, false) , array('placeholder'=>__('shop.shop_accessibility'), 'class'=>'form-control', 'id'=>'accessibility', 'rows'=>2)) }}
|
||||
<small class="form-text text-muted">{{ __('shop.shop_accessibility_help') }}</small>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="about">{{ __('shop.shop_about') }} | <strong style="text-transform: uppercase">{{ __('website.language') }} {{$lang}}</strong></label>
|
||||
{{ Form::textarea('trans['.$lang.'][about]', $user->shop->getTrans('about', $lang, false) , array('placeholder'=>'', 'class'=>'form-control', 'id'=>'about', 'rows'=>2)) }}
|
||||
<small class="form-text text-muted">{{ __('shop.shop_about_help') }}</small>
|
||||
</div>
|
||||
<hr>
|
||||
@endforeach
|
||||
|
||||
<div class="text-left mt-0 mb-2">
|
||||
<button type="submit" class="btn btn-secondary">{{ __('save') }}</button>
|
||||
</div>
|
||||
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-right mt-0 mb-2">
|
||||
<a href="{{ route('user_shop') }}" class="btn btn-default">{{ __('back') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
Loading…
Add table
Add a link
Reference in a new issue