Revize 18ac9009
Přidáno uživatelem Ondřej Fibich před asi 9 roky(ů)
application/controllers/subnets.php | ||
---|---|---|
$grid->add_new_button('subnets/add', __('Add new subnet'),
|
||
array
|
||
(
|
||
'title' => __('Add new subnet'),
|
||
'class' => 'popup_link'
|
||
'title' => __('Add new subnet')
|
||
));
|
||
}
|
||
|
||
... | ... | |
|
||
$form->dropdown('owner_id')
|
||
->label(__('Owner').' '.help::hint('subnet_owner'))
|
||
->options($arr_members);
|
||
->options($arr_members)
|
||
->filter_button('members');
|
||
|
||
// add cloud to subnet
|
||
$cloud = new Cloud_Model();
|
||
... | ... | |
$form->dropdown('owner_id')
|
||
->label(__('Owner').' '.help::hint('subnet_owner'))
|
||
->options($arr_members)
|
||
->selected($subnet_model->subnets_owner->member->id);
|
||
->selected($subnet_model->subnets_owner->member->id)
|
||
->filter_button('members');
|
||
|
||
$form->submit('Update');
|
||
|
Také k dispozici: Unified diff
Fix merge issue that removed all staff from developer branch :-).