@extends(BaseHelper::getAdminMasterLayoutTemplate()) @section('content') @php do_action(BASE_ACTION_TOP_FORM_CONTENT_NOTIFICATION, request(), THEME_OPTIONS_MODULE_SCREEN_NAME) @endphp

{{ trans('packages/theme::theme.theme_options') }}

{!! Form::open(['route' => 'theme.options', 'method' => 'POST']) !!}
@if (ThemeOption::getArg('debug')) {{ trans('packages/theme::theme.developer_mode') }}@endif
{!! apply_filters(THEME_OPTIONS_ACTION_META_BOXES, null, THEME_OPTIONS_MODULE_SCREEN_NAME) !!}
@foreach(ThemeOption::constructSections() as $section)
@foreach (ThemeOption::constructFields($section['id']) as $field)
{!! Form::label($field['attributes']['name'], $field['label'], ['class' => 'control-label']) !!} {!! ThemeOption::renderField($field) !!} @if (array_key_exists('helper', $field)) {!! BaseHelper::clean($field['helper']) !!} @endif

@endforeach
@endforeach
{!! apply_filters(THEME_OPTIONS_ACTION_META_BOXES, null, THEME_OPTIONS_MODULE_SCREEN_NAME) !!}
{!! Form::close() !!}
@stop