@extends('layouts.app') @section('title') {{ __('messages.front_cms.banner_title') }} @endsection @section('content')
@include('layouts.errors') @include('flash::message')
@csrf
{{ Form::label('Title', __('messages.front_cms.title') . ':', ['class' => 'form-label required']) }} {{ Form::text('banner_title', isset($setting['banner_title']) ? $setting['banner_title'] : null, ['class' => 'form-control form-control-color w-100 mb-3', 'placeholder' => __('messages.front_cms.title'), 'id' => 'banner_title']) }}
{{ Form::label('URL', __('messages.front_cms.url') . ':', ['class' => 'form-label required']) }} {{ Form::url('banner_url', isset($setting['banner_url']) ? $setting['banner_url'] : null, ['class' => 'form-control form-control-color w-100 mb-3', 'placeholder' => __('messages.front_cms.url'), 'id' => 'banner_url']) }}
{{ Form::label('Description', __('messages.front_cms.description') . ':', ['class' => 'form-label required']) }} {{ Form::textarea('banner_description', isset($setting['banner_description']) ? $setting['banner_description'] : null, ['class' => 'form-control form-control-color w-100 mb-3', 'placeholder' => __('messages.form.short_description'), 'id' => 'banner_description', 'rows' => 5]) }}
{{ Form::label('banner_button', __('messages.front_cms.banner_button') . ':', ['class' => 'form-label required']) }} {{ Form::text('banner_button',isset($setting['banner_button']) ? $setting['banner_button'] : null, ['class' => 'form-control form-control-color w-100 mb-3', 'placeholder' => __('messages.front_cms.banner_button'), 'id' => 'banner_button']) }}
{{ __('messages.common.discard') }}
@endsection