{!! Form::open([
'url' => action([\Modules\Gym\Http\Controllers\SettingController::class, 'store']),
'method' => 'post',
'id' => 'setting',
'files' => true,
]) !!}
@php
$settings = json_decode($busines->gym_settings);
@endphp
{!! Form::label('phone', __('contact.contact')) !!}
{!! Form::text('phone', $settings->gym->phone ?? null, [
'class' => 'form-control',
'id' => 'phone',
'placeholder' => __('contact.contact'),
]) !!}
{!! Form::label('email', __('gym::lang.email')) !!}
{!! Form::email('email', $settings->gym->email ?? null, [
'class' => 'form-control',
'id' => 'email',
'placeholder' => __('gym::lang.email'),
]) !!}
{!! Form::label('website', __('gym::lang.website')) !!}
{!! Form::text('website', $settings->gym->website ?? null, [
'class' => 'form-control',
'id' => 'website',
'placeholder' => __('gym::lang.website'),
]) !!}
{!! Form::label('address', __('gym::lang.address')) !!}
{!! Form::textarea('address', $settings->gym->address ?? null, [
'class' => 'form-control',
'id' => 'address',
'rows' => '4',
'placeholder' => __('gym::lang.address'),
]) !!}
{!! Form::submit(__('messages.submit'), ['class' => 'tw-dw-btn tw-dw-btn-success tw-text-white tw-dw-btn-lg']) !!}
{!! Form::close() !!}
{!! __('gym::lang.version_info', ['version' => $module_version]) !!}