@extends('layouts.admin', [ 'page_header' => 'Settings', 'dash' => '', 'quiz' => '', 'users' => '', 'questions' => '', 'top_re' => '', 'all_re' => '', 'sett' => 'active' ]) @section('content') @php $setting = $settings[0]; @endphp {!! Form::model($setting, ['method' => 'PATCH', 'action' => ['SettingController@update', $setting->id], 'files' => true]) !!}
{!! Form::label('welcome_txt', 'Project Name') !!}

{{ __('Please Enter Your Project Name')}}

{!! Form::text('welcome_txt', null, ['class' => 'form-control']) !!} {{ $errors->first('welcome_txt') }}
{!! Form::label('APP_URL', 'Project URL') !!}

{{ __('Please Enter Your Project URL')}}

{{ $errors->first('APP_URL') }}
{!! Form::label('logo', 'Logo Select') !!}

{{ __('Please Select Logo') }}

{!! Form::file('logo',['accept'=>'image/*']) !!} {{ $errors->first('logo') }}
{{$setting->welcome_txt}}
{!! Form::label('favicon', 'Favicon Select') !!}

{{ __('Please Select Favicon') }}

{!! Form::file('favicon',['accept'=>'image/*']) !!} {{ $errors->first('favicon') }}
{!! Form::label('w_email', 'Default Email') !!}

Please enter your default email

{!! Form::email('w_email', null, ['class' => 'form-control', 'placeholder' => 'eg: example@exampledomain.com','required']) !!} {{ $errors->first('w_email') }}
{!! Form::label('currency_code', 'Currency Code') !!}

- Please enter your currency code

{!! Form::text('currency_code', null, ['class' => 'form-control']) !!} {{ $errors->first('currency_code') }}
{!! Form::label('currency_symbol', 'Currency Symbol') !!}

- Please select your currency symbol

{!! Form::text('currency_symbol', null, ['class' => 'form-control currency-icon-picker']) !!}
{{ $errors->first('currency_symbol') }}
wel_mail == 1 ? "checked" : "" }} type="checkbox" class="toggle-input" name="wel_mail" id="wel_mail">
right_setting == 1 ? "checked" : "" }} type="checkbox" class="toggle-input" name="rightclick" id="rightclick">
element_setting == 1 ? "checked" : "" }} type="checkbox" class="toggle-input" name="inspect" id="inspect">
coming_soon == 1 ? "checked" : "" }} type="checkbox" class="toggle-input coming_soon" name="coming_soon" id="coming_soon" onChange ='iscomingsoon()'>
{{--
--}}
{!! Form::submit("Save Setting", ['class' => 'btn btn-wave btn-block']) !!}
{!! Form::close() !!} @endsection @section('scripts') @endsection