Update custom generation for select, checkbox, textare, and expand Xml templates for other input types
This commit is contained in:
@@ -80,7 +80,8 @@
|
||||
%=l('${prefix}_${Label}')
|
||||
</span><span class=data>
|
||||
%=Search field
|
||||
%=search_field , class => 'searc${type_serial}'
|
||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||
%=search_field '${Name}' , class => 'searc${type_serial}'
|
||||
</span>span></p>
|
||||
]]>
|
||||
</search>
|
||||
@@ -89,7 +90,8 @@
|
||||
<p><span class=label>
|
||||
%=l('${Label}')
|
||||
</span><span class=data>
|
||||
%=URL_field , class => 'url${type_serial}'
|
||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||
%=URL_field '${Name}' , class => 'url${type_serial}'
|
||||
</span>span></p>
|
||||
]]>
|
||||
</url>
|
||||
@@ -98,7 +100,8 @@
|
||||
<p><span class=label>
|
||||
%=l('${Label}')
|
||||
</span><span class=data>
|
||||
%=tel_field, class => 'tel${type_serial}'
|
||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||
%=tel_field '${Name}', class => 'tel${type_serial}'
|
||||
</span>span></p>
|
||||
]]>
|
||||
</tel>
|
||||
@@ -107,7 +110,8 @@
|
||||
<p><span class=label>
|
||||
%=l('${Label}')
|
||||
</span><span class=data>
|
||||
%=email_field, class => 'emai${type_serial}'
|
||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||
%=email_field '${Name}', class => 'emai${type_serial}'
|
||||
</span>span></p>
|
||||
]]>
|
||||
</email>
|
||||
@@ -116,7 +120,8 @@
|
||||
<p><span class='label'>
|
||||
%=l('${Label}')
|
||||
</span><span class=data>
|
||||
%=password_field, class => 'pass${type_serial}'
|
||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||
%=password_field '${Name}', class => 'pass${type_serial}'
|
||||
</span>span></p>
|
||||
]]>
|
||||
</password>
|
||||
@@ -125,7 +130,8 @@
|
||||
<p><span class='label'>
|
||||
%=l('${Label}')
|
||||
</span><span class=data>
|
||||
%=timedate_field, class => 'time${type_serial}'
|
||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||
%=timedate_field '${Name}', class => 'time${type_serial}'
|
||||
</span>span></p>
|
||||
]]>
|
||||
</timedate>
|
||||
@@ -134,7 +140,8 @@
|
||||
<p><span class='label'>
|
||||
%=l('${Label}')
|
||||
</span><span class=data>
|
||||
%=week_field, class => 'week${type_serial}'
|
||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||
%=week_field '${Name}', class => 'week${type_serial}'
|
||||
</span>span></p>
|
||||
]]>
|
||||
</week>
|
||||
@@ -143,7 +150,8 @@
|
||||
<p><span class='label'>
|
||||
%=l('${Label}')
|
||||
</span><span class=data>
|
||||
%=month_field, class => 'mont${type_serial}'
|
||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||
%=month_field '${Name}', class => 'mont${type_serial}'
|
||||
</span>span></p>
|
||||
]]>
|
||||
</month>
|
||||
@@ -152,7 +160,8 @@
|
||||
<p><span class='label'>
|
||||
%=l('${Label}')
|
||||
</span><span class=data>
|
||||
%=range_field, class => 'rang${type_serial}'
|
||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||
%=range_field '${Name}', class => 'rang${type_serial}'
|
||||
</span>span></p>
|
||||
]]>
|
||||
</range>
|
||||
@@ -161,7 +170,8 @@
|
||||
<p><span class='label'>
|
||||
%=l('${Label}')
|
||||
</span><span class=data>
|
||||
%=radio_field, class => 'radi${type_serial}'
|
||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||
%=radio_field '${Name}', class => 'radi${type_serial}'
|
||||
</span>span></p>
|
||||
]]>
|
||||
</radio>
|
||||
@@ -170,7 +180,8 @@
|
||||
<p><span class='label'>
|
||||
%=l('${Label}')
|
||||
</span><span class=data>
|
||||
%=number_field, class => 'numb${type_serial}'
|
||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||
%=number_field '${Name}', class => 'numb${type_serial}'
|
||||
</span>span></p>
|
||||
]]>
|
||||
</number>
|
||||
@@ -179,7 +190,8 @@
|
||||
<p><span class='label'>
|
||||
%=l('${Label}')
|
||||
</span><span class=data>
|
||||
%=file_field, class => 'file${type_serial}'
|
||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||
%=file_field '${Name}', class => 'file${type_serial}'
|
||||
</span>span></p>
|
||||
]]>
|
||||
</file>
|
||||
@@ -188,7 +200,8 @@
|
||||
<p><span class='label'>
|
||||
%=l('${Label}')
|
||||
</span><span class=data>
|
||||
%=color_field, class => 'colo${type_serial}'
|
||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||
%=color_field '${Name}', class => 'colo${type_serial}'
|
||||
</span>span></p>
|
||||
]]>
|
||||
</color>
|
||||
@@ -197,7 +210,8 @@
|
||||
<p><span class='label'>
|
||||
%=l('${Label}')
|
||||
</span><span class=data>
|
||||
%=checkbox_field, class => 'chec${type_serial}'
|
||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||
%=checkbox_field '${Name}', class => 'chec${type_serial}'
|
||||
</span>span></p>
|
||||
]]>
|
||||
</checkbox>
|
||||
|
Reference in New Issue
Block a user