= \Html::input(
array(
'name' => 'name',
'value' => $this -> site['name'],
'class' => 'require',
'label' => 'Nazwa'
)
);?>
= \Html::input(
array(
'name' => 'url',
'value' => $this -> site['url'],
'class' => 'require',
'label' => 'Url (bez http://)'
)
)?>
= \Html::input(
array(
'name' => 'subscription',
'class' => 'number-format',
'value' => $this -> site['subscription'] != '0.00' ? $this -> site['subscription'] : null,
'label' => 'Abonament miesięczny'
)
);?>
= \Html::input(
array(
'name' => 'date_start',
'class' => 'date',
'value' => $this -> site['date_start'] != '0000-00-00' ? $this -> site['date_start'] : null,
'label' => 'Data rozpoczęcia'
)
);?>
= \Html::input(
array(
'name' => 'date_end',
'class' => 'date',
'value' => $this -> site['date_end'] != '0000-00-00' ? $this -> site['date_end'] : null,
'label' => 'Data zakończenia'
)
);?>
= \Html::input(
array(
'name' => 'discount',
'class' => 'number-format',
'value' => $this -> site['discount'] != '0.00' ? $this -> site['discount'] : null,
'label' => 'Rabat w %'
)
);?>
= \Html::textarea(
array(
'name' => 'comments',
'id' => 'comment',
'value' => $this -> site['comments'],
"label" => 'Komentarz'
)
);?>
= \Html::input_switch(
array(
'name' => 'majestic',
'label' => 'Sprawdzaj parametry Majestic',
'checked' => $this -> site['majestic'] ? 1 : 0,
'values' => [
'1' => 'tak',
'0' => 'nie'
]
)
);?>
= \Html::input_switch(
array(
'name' => 'semstorm',
'label' => 'Sprawdzaj parametry Semstorm',
'checked' => $this -> site['semstorm'] ? 1 : 0,
'values' => [
'1' => 'tak',
'0' => 'nie'
]
)
);?>
= \Html::input_switch(
array(
'name' => 'need_confirm',
'label' => 'Wymagaj potwierdzenia',
'checked' => $this -> site['need_confirm'] ? 1 : 0,
'values' => [
'1' => 'tak',
'0' => 'nie'
]
)
);?>