@extends('backend.includes.panel') @section('page_css') @stop @section('page_title','Site Setting') @section('inner_page_link') @stop @section('main_content')
@if(isset($siteSettings)) {{ Form::model($siteSettings, ['route' => ['backend.site-setting.update',$siteSettings->id], 'method' => 'patch','class'=>'form-horizontal form-material','data-parsley-validate'=>'','autocomplete'=>'off','enctype'=>'multipart/form-data','id'=>'settingForm']) }} @else {{ Form::open(['route' => 'backend.site-setting.store','class'=>'form-horizontal form-material','data-parsley-validate'=>'','method'=>'POST','autocomplete'=>'off','enctype'=>'multipart/form-data','id'=>'settingForm']) }} @endif

Setting Details

Details of Setting
{{ Form::text('setting_key',Input::old('setting_key'),['class'=>'form-control','data-parsley-required'=>'true','autofocus'=>'true','id'=>'site_setting_id']) }} @if(isset($errors) && $errors->first('setting_key')) {{ $errors->first('setting_key') }} @endif
{{ Form::text('setting_name',Input::old('setting_name'),['class'=>'form-control','data-parsley-required'=>'true','autofocus'=>'true']) }} @if(isset($errors) && $errors->first('setting_name')) {{ $errors->first('setting_name') }} @endif
{{ Form::text('setting_value',Input::old('setting_value'),['class'=>'form-control','data-parsley-required'=>'true']) }} @if(isset($errors) && $errors->first('setting_value')) {{ $errors->first('setting_value') }} @endif

Status

@php $status=true; if(isset($siteSettings->status) && !$siteSettings->status){ $status=false; } @endphp {{ Form::checkbox('status',1,$status,['data-on-color'=>'info','data-off-color'=>'danger']) }}
{{ Form::close() }}
@stop @section('page_script') @stop