%#
%# Generated by SM2Gen version:0.9(20Jan2025) Chameleon version:4.5.4 On Python:3.12.3 at 2025-09-06 06:03:54
%#
%# Specific for AdminLTE theme
%#
%#
% if (config->{debug} == 1) {
%= dumper $ex1_data
% }
% my $btn = l('ex1_SAVE');
% $c->param(Selected => undef); #This may need deleting for a params panel - only needed for a table
%= form_for "example1u" => (method => 'POST') => begin
% param 'trt' => $ex1_data->{trt} unless param 'trt';
%= hidden_field 'trt' => $ex1_data->{trt}
%# Inputs etc in here.
<%=l('ex1_Example_Contrib')%>
<%=l('ex1_Manage_Ibay_settings:')%>
%=l('ex1_These_parameters_will_be_effective')
%=l('ex1_Information_Bay_name')
% param 'IbayName' => $ex1_data->{IbayName} unless param 'IbayName';
%= text_field 'IbayName', size => '50', class => 'textinput IbayName' , pattern=>'.*' , placeholder=>'IbayName', title =>'Pattern regex mismatch', id => 'IbayName_text'
%=l('ex1_Share_owner_Group')
% my @ShareOwnerGrp_options = [['Write = admin, Read = group' => 'All'], ['Write = group, Read = everyone' => 'Read:All-Write:Grp']];
% param 'ShareOwnerGrp' => $ex1_data->{ShareOwnerGrp} unless param 'ShareOwnerGrp';
%= select_field 'ShareOwnerGrp' => @ShareOwnerGrp_options, class => 'input', id => 'ShareOwnerGrp_select'
%# ....
%# Probably finally by a submit.
%= submit_button $btn, class => 'action'
%end