Revize 8f55a2a5
Přidáno uživatelem Michal Kliment před více než 9 roky(ů)
application/controllers/members.php | ||
---|---|---|
$form->input('membername')
|
||
->label('Name of organization')
|
||
->help(help::hint('member_name'))
|
||
->rules('length[1,60]');
|
||
->rules('length[1,100]');
|
||
|
||
// access control
|
||
if ($this->acl_check_new('Members_Controller', 'organization_id'))
|
||
... | ... | |
{
|
||
$form->input('membername')
|
||
->label('Member name')
|
||
->rules('required|length[1,60]')
|
||
->rules('required|length[1,100]')
|
||
->value($member->name);
|
||
}
|
||
|
Také k dispozici: Unified diff
Release 1.1.6