Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/syn.corals.io/Corals/modules/CMS/resources/views/news/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/syn.corals.io/Corals/modules/CMS/resources/views/news/create_edit.blade.php
@extends('layouts.crud.create_edit')



@section('content_header')
    @component('components.content_header')
        @slot('page_title')
            {{ $title_singular }}
        @endslot
        @slot('breadcrumb')
            {{ Breadcrumbs::render('news_create_edit') }}
        @endslot
    @endcomponent
@endsection

@section('content')
    @parent
    <div class="row">
        <div class="col-md-12">
            {!! CoralsForm::openForm($news, ['files'=>true]) !!}
            @component('components.box')
                <div class="row">
                    <div class="col-md-4">
                        {!! CoralsForm::text('title','CMS::attributes.content.title',true) !!}
                    </div>
                    <div class="col-md-4">
                        {!! CoralsForm::text('slug','CMS::attributes.content.slug',true) !!}
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-12">
                        {!! CoralsForm::textarea('content','CMS::attributes.content.content',true, null, ['class'=>'ckeditor']) !!}
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-6">
                        {!! CoralsForm::textarea('meta_keywords','CMS::attributes.content.meta_keywords',false,$news->meta_keywords,['rows'=>4]) !!}
                    </div>
                    <div class="col-md-6">
                        {!! CoralsForm::textarea('meta_description','CMS::attributes.content.meta_description',false,$news->meta_description,['rows'=>4]) !!}
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-6">
                        <div class="row">
                            <div class="col-md-12">
                                @if($news->featured_image)
                                    <img src="{{ $news->featured_image }}" class="img-responsive"
                                         style="max-width: 100%;"
                                         alt="Featured Image"/>
                                    <br/>
                                    {!! CoralsForm::checkbox('clear', 'CMS::attributes.content.clear') !!}
                                @endif
                                {!! CoralsForm::file('featured_image', 'CMS::attributes.content.featured_image') !!}
                                -- OR --
                                <br/>
                                <br/>
                                {!! CoralsForm::text('featured_image_link','CMS::attributes.content.featured_image_link') !!}
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-4">
                                {!! CoralsForm::checkbox('published', 'CMS::attributes.content.published',$news->published) !!}
                            </div>
                            <div class="col-md-4">
                                {!! CoralsForm::checkbox('private', 'CMS::attributes.content.private',$news->private, 1,
                                ['help_text'=>'CMS::attributes.content.private_help']) !!}
                            </div>
                            <div class="col-md-4">
                                {!! CoralsForm::checkbox('internal', 'CMS::attributes.content.internal', $news->internal, 1,
                                ['help_text'=>'CMS::attributes.content.internal_help']) !!}
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-6">
                                {!! CoralsForm::select('template','CMS::attributes.content.template', \CMS::getFrontendThemeTemplates() ) !!}
                            </div>
                        </div>
                    </div>
                </div>
                {!! CoralsForm::customFields($news) !!}
                <div class="row">
                    <div class="col-md-6 col-md-offset-6">
                        {!! CoralsForm::formButtons() !!}
                    </div>
                </div>
            @endcomponent
            {!! CoralsForm::closeForm($news) !!}
        </div>
    </div>
@endsection

Spamworldpro Mini