@extends('layouts.admin') @section('script') @endsection @section('content')
{{--
--}} @include('layouts.flashmessage')
@csrf @php $form = config('admin.settings.'.$component_name)@endphp @component('admin.components.card', ['header'=>__('admin_setting.labelDetails')]) @php $id = 'company_name'; $hasError = $errors->has($id) @endphp @component('admin.components.form_field_50', ['label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ]) @component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent @endcomponent {{--
--}} @php $id = 'subdomain'; $hasError = $errors->has($id) @endphp @component('admin.components.form_field', ['class' =>'col-sm-3', 'label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ]) @component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent @endcomponent @php $id = 'domain'; $hasError = $errors->has($id) @endphp @component('admin.components.form_field', ['class'=>'col-sm-3','label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ]) @component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent @endcomponent {{--
--}} @php $id = 'campaign_name'; $hasError = $errors->has($id) @endphp @component('admin.components.form_field_50', ['label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ]) @component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent @endcomponent @php $id = 'country'; $hasError = $errors->has($id) @endphp @component('admin.components.form_field_50', ['label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ]) @component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent @endcomponent @php $id = 'icon'; $hasError = $errors->has($id) @endphp @component('admin.components.form_field_50', ['label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])
{{-- preview--}} preview
@component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent @endcomponent @component('admin.components.form_field_50', [ 'label' => $form[$id = 'is_agency']['label'], 'required' => $form[$id]['req'], 'description' => $form[$id]['descr'], 'hasError' => $hasError = $errors->has($id), 'roles' => $form[$id]['auth'], ]) @component('admin.components.form_error_msg', ['hasError' => $hasError]){{ $errors->first($id) }}@endcomponent @endcomponent @endcomponent @component('admin.components.card', ['header'=>'Notifications']) @php $id = 'sms_sender_id'; $hasError = $errors->has($id); @endphp @component('admin.components.form_field_50', ['label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ]) @component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent @endcomponent @php $id = 'no_reply_email'; $hasError = $errors->has($id) @endphp @component('admin.components.form_field_50', ['label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ]) @component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent @endcomponent @endcomponent {{--@component('admin.components.card',--}} {{-- ['header'=>'Business Terms and Policy'])--}} {{-- @php $id = 'tc_link'; $hasError = $errors->has($id) @endphp--}} {{-- @component('admin.components.form_field_50', ['label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])--}} {{-- --}} {{-- @component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent--}} {{-- @endcomponent--}} {{--@endcomponent--}}
{{--
--}}
@component('components.utility.modal_confirmation') @slot('slot_header') Project created successfully @endslot @slot('slot_body_info') Redirect to new project? @endslot @endcomponent @endsection