@extends('widget::widget_layout') @section('widget_content')
@php($numer_block = 4)
@for ($j = 1; $j <= $numer_block ; $j++)
@if(WbTheme::getConfig('version')==2) {{ Form::bsText('Icon Font Awesome (vd: fas fa-bus)','config[blocks]['.$j.'][icon]',@$data['config']['blocks'][$j]['icon']) }} @else {{ Form::bsText('Hiện Icon Font Awesome (vd: fa fa-bus)','config[blocks]['.$j.'][icon]',@$data['config']['blocks'][$j]['icon']) }} @endif

{{ Form::bsText('Mô tả chính','config_desc[blocks]['.$j.'][title]',@$data['description']['config']['blocks'][$j]['title']) }} {{ Form::bsText('Mô tả phụ','config_desc[blocks]['.$j.'][title_small]',@$data['description']['config']['blocks'][$j]['title_small']) }}
@endfor
@if(!empty($layout_theme['homepage'][1]['service'])) @php $option = []; foreach($layout_theme['homepage'][1]['service'] as $value){ $option[$value['template']] = $value; } @endphp
{{ Form::bsSelect('Chọn kiểu hiển thị','config[style]',array_pluck($layout_theme['homepage'][1]['service'], 'label', 'template'),@$data['config']['style'], [], $option) }}
@endif @overwrite