Revize 1205
Přidáno uživatelem Michal Kliment před více než 13 roky(ů)
freenetis/branches/testing/application/controllers/devices.php | ||
---|---|---|
// name is not required, it is useful to name routers, access points, etc. only
|
||
$form->input('name')
|
||
->label(__('Device name').':')
|
||
->rules('length[2,50]');
|
||
->rules('length[2,200]')
|
||
->style('width: 500px');;
|
||
|
||
$form->input('trade_name')
|
||
->label(__('Trade name').':')
|
||
... | ... | |
|
||
$form->input('name')
|
||
->label(__('Device name').':')
|
||
->rules('required|length[1,50]')
|
||
->value($device->name);
|
||
->rules('length[1,200]')
|
||
->value($device->name)
|
||
->style('width: 500px');
|
||
|
||
$form->input('trade_name')
|
||
->label(__('Trade name').':')
|
Také k dispozici: Unified diff
Predchozi zmeny pridany i do editace a pridavani celeho zarizeni.