:
|
Form->text('name') ?>
|
:
|
Form->text(
'date_from',
array(
'class' => 'date_input',
'readonly' => 'readonly',
'style' => 'width: 70px!important;'
)
)
?>
|
:
|
Form->text(
'date_to',
array(
'class' => 'date_input',
'readonly' => 'readonly',
'style' => 'width: 70px!important;'
)
)
?>
|
|
:
|
Form->input(
'banner_secion_id',
[
'div' => false,
'label' => false,
'type' => 'select',
'options' => $sections,
'style' => 'max-width: 150px;',
'multiple' => 'multiple',
'class' => 'multiselect'
]
);
echo $this->Html->link(
$this->Html->icon(
'list',
[
'title' => __a('Zarządzaj sekcjami', true),
'style' => 'position: relative; top: 3px; left: 5px;',
'url' => [
'controller' => 'banner_sections',
'action' => 'index',
]
]
),
[],
[
'escape' => false
]
);
?>
|
:
|
Form->input(
'store_id',
array(
'div' => false,
'label' => false,
'type' => 'select',
'options' => $stores,
'style' => 'max-width: 150px;',
'multiple' => 'multiple',
'class' => 'multiselect'
)
)
?>
|
:
|
Form->input(
'locale',
[
'div' => false,
'label' => false,
'type' => 'select',
'options' => $languages,
'style' => 'max-width: 150px;',
'multiple' => 'multiple',
'class' => 'multiselect'
]
)
?>
|
:
|
Form->input(
'status',
[
'div' => false,
'label' => false,
'type' => 'select',
'empty' => __a('-wszystkie-', true),
'class' => 'input-select',
'options' => [
'finished' => __a('zakończona', true),
'live' => __a('bieżąca', true),
'future' => __a('przyszła', true)
]
]
)
?>
|
|
:
|
Form->input(
'active',
array(
'div' => 'radio_container',
'legend' => false,
'type' => 'radio',
'default' => 3,
'options' => array(
1 => __a('tak', true),
2 => __a('nie', true),
3 => __a('wszystkie', true)
)
)
)
?>
|
|