@extends('dashboard.index') @section('contentDashboard') @include('dashboard.page_header') @if (count($errors) > 0)
@endif
@foreach ($groups as $gKey => $group)
{!! Form::open(array('route' => 'app.update','method'=>'POST','enctype'=>'multipart/form-data')) !!}
@php $settings = App\Settings::settingsByGroupID($gKey); @endphp @foreach ($settings as $sKey => $setting) @switch($setting->type) @case('text')
@break @case('textarea')
@break @case('datepicker')
@break @case('checkbox')
value == 1)? 'checked':'' }} />
@break @default @endswitch @endforeach
{!! Form::close() !!} @endforeach
@endsection