% my $btn = l('ADD');

%= form_for '/ibaysd' => (method => 'POST') => begin

## %=l 'iba_ADD_TITLE'

%=l 'iba_NAME_FIELD_DESC'

%=l 'iba_NAME_LABEL', class => "" % if ( $iba_datas->{trt} eq 'ADD' ) { % param 'ibay' => $iba_datas->{ibay} unless param 'ibay'; %= text_field 'ibay', class => "" % } else { % $btn = l('SAVE'); %= $iba_datas->{ibay}, class => "" % }

%=l 'DESCRIPTION', class => "" % param 'ibayDesc' => $iba_datas->{description} unless param 'ibayDesc'; %= text_field 'ibayDesc', class => ""

%=l 'GROUP' % param 'group' => $iba_datas->{group} unless param 'group'; %= select_field 'group' => $c->group_list_m(), class => ""

%=l 'iba_USER_ACCESS' % param 'userAccess' => $iba_datas->{userAccess} unless param 'userAccess'; %= select_field 'userAccess' => $c->userAccess_list_m(), class => ""

%=l 'iba_PUBLIC_ACCESS' % param 'publicAccess' => $iba_datas->{publicAccess} unless param 'publicAccess'; %= select_field 'publicAccess' => $c->publicAccess_list_m(), class => ""

%=l 'iba_ALLOW_DYNAMIC_CONTENT' % param 'CgiBin' => $iba_datas->{CgiBin} unless param 'CgiBin'; %= select_field 'CgiBin' => [[ (l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => ""

%=l 'iba_HTTPS_Only' % param 'SSL' => $iba_datas->{SSL} unless param 'SSL'; %= select_field 'SSL' => [[ (l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => ""

%= submit_button $btn, class => ""

%= hidden_field 'trt' => $iba_datas->{trt} % if ( $iba_datas->{trt} eq 'UPD' ) { %= hidden_field 'ibay' => $iba_datas->{ibay} % }

% end