@extends('layouts.admin') @section('page-title','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), '#'=>isset($pageTitle)?$pageTitle:'' ]]) @endsection @section('content')
{{ __lang('add-widget') }}
@php $counter= 1 ; @endphp @php foreach($form as $key=>$value): @endphp
{{ __lang($value['name']) }}
@csrf
{{ formElement($value['enabled']) }}
{{ formElement($value['sortOrder']) }}
{{__lang('save-changes')}}
{{ __lang('remove') }}
@php if(!empty($value['description'])): @endphp
{{ __lang($value['code'].'-dis') }}
@php endif; @endphp
{!! $value['form'] !!}
@php endforeach; @endphp
@endsection @section('header')
@endsection @section('footer')
{{ __lang('create-new-widget') }}
×
@csrf
{{ __lang('widget-type') }}
{{ formElement($createSelect)}}
{{ __lang('sort-order') }}
@endsection