<?php
/**
 * FW Food Menu 4.0.0
 * @copyright (C) 2020 Fastw3b
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @link http://www.fastw3b.net/ Official website
 **/

defined( '_JEXEC' ) or die( 'Restricted access' );

$name = $displayData['name'];
$value = $displayData['value'];

fwFoodMenuHelper::loadAdminStyles();
?>
<div class="fwcss">
	<div class="uk-card">
		<div class="uk-card-header">
			<h4 class="uk-card-title">
				<span class="uk-align-right uk-badge uk-badge-default"><i uk-icon="puzzle-piece" class="uk-margin-small-right"></i><?php echo JText::_('FWFM_DOC_ADMIN_MENUPARAMS_CATEGORY_ADDONS_SECTION_COLUMNS_TITLE'); ?></span>
				<?php echo JText::_('FWFM_DOC_ADMIN_MENUPARAMS_CATEGORY_ADDONS_SECTION_COLUMNS') ?></h4>
			<div class="uk-card-subtitle"><?php echo JText::_('FWFM_DOC_ADMIN_MENUPARAMS_CATEGORY_ADDONS_SECTION_COLUMNS_HINT') ?></div>
		</div>
		<div class="uk-card-body">
			<div class="control-group">
				<div class="control-label">
					<?php echo JText::_('FWFM_DOC_ADMIN_MENUPARAMS_CATEGORY_ADDONS_SECTION_COLUMNS_COLUMNS'); ?>
					<i uk-icon="question" class="uk-align-right" uk-tooltip="<?php echo JText::_('FWFM_DOC_ADMIN_MENUPARAMS_CATEGORY_ADDONS_SECTION_COLUMNS_COLUMNS_HINT'); ?>"></i>
				</div>
				<div class="controls">
					<?php echo JHTMLfwView::radioGroup($name.'[cols_qty]', empty($value['cols_qty'])?'3':$value['cols_qty'], array(
						'wrapper_class' => 'uk-margin-right',
						'buttons' => array(/*array(
							'active_class' => 'uk-button-success',
							'title' => JText::_('FWFM_DEFAULT'),
							'value' => 'def'
						),*/ array(
							'active_class' => 'uk-button-success',
							'title' => 1,
							'value' => '1'
						), array(
							'active_class' => 'uk-button-success',
							'title' => 2,
							'value' => '2'
						), array(
							'active_class' => 'uk-button-success',
							'title' => 3,
							'value' => '3'
						), array(
							'active_class' => 'uk-button-success',
							'title' => 4,
							'value' => '4'
						))
					)); ?>
				</div>
			</div>
		</div>
	</div>
</div>
