@extends('Backend::layout') @section('head') @stop @section('content') {{ HTML::widgetBox(['name' => trans('GlobalTranslations::common.settings'), 'icon' => 'icon-gear'],[ ]) }}
{{ Former::populate($populate) }} {{ Former::open() }} @foreach($configOptions as $option) @if(isset($option['type']) && $option['type'] == 'select') {{ Former::select($namespace . '[' . $option['clean_key'] . ']')->options($option['select']) }} @elseif(isset($option['type']) && $option['type'] == 'textarea') {{ Former::textarea($namespace . '[' . $option['clean_key'] . ']')->rows(6) }} @elseif(isset($option['type']) && $option['type'] == 'wysiwyg') {{ Former::textarea($namespace . '[' . $option['clean_key'] . ']')->class('tinymce')->rows(6) }} @elseif(isset($option['type']) && ($option['type'] == 'file_manager' || $option['type'] == 'file_manager_image')) {{ Former::text($namespace . '[' . $option['clean_key'] . ']')->data_images_only($option['type'] == 'file_manager' ? 'false' : 'true')->addClass('browse-file-manager-input')->prepend('') }} @else {{ Former::text($namespace . '[' . $option['clean_key'] . ']') }} @endif @endforeach {{ Former::actions( Former::btn_primary_submit(trans('GlobalTranslations::common.save')) ) }} {{ Former::close() }}
{{ HTML::widgetBox(false) }} @stop