@extends('backpack::layout') @section('content')

Update setting

You can add custom Js which will appear before in footer. (Example of scripts: Google etc.)

{!! Form::open(['url' => 'admin/custom-setting/add','id' => 'demo-form2', 'files'=>true, 'novalidate']) !!}
{!! Form::label('caption', 'Caption') !!} {!! Form::text('caption', isset($setting) ? $setting->caption : 'Custom Script', ['class' => 'form-control', 'required' => 'required', 'readonly']) !!} {{ $errors->first('caption') }}
{!! Form::label('value', 'Value') !!} {!! Form::textarea('value',isset($setting) ? $setting->value : '', ['class' => 'form-control', 'required' => 'required']) !!} {{ $errors->first('value') }}
{!! Form::close() !!}
@endsection