2024-04-09 11:33:50 +02:00
|
|
|
<root>
|
|
|
|
<Text><![CDATA[
|
|
|
|
<p><span class=label>
|
|
|
|
%=l('${Label}'), class => 'label'
|
|
|
|
</span><span class=data>
|
|
|
|
%= ${Value}, class => 'data'
|
|
|
|
</span></p>
|
|
|
|
]]></Text>
|
|
|
|
|
|
|
|
<Selection><![CDATA[
|
|
|
|
<p><span class=label>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
|
|
|
% my @${Name}_options = ${Value};
|
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%= select_field '${Name}' => @${Name}_options, class => 'input'
|
|
|
|
<br></span> </p>
|
|
|
|
]]></Selection>
|
|
|
|
|
|
|
|
<Textarea><![CDATA[
|
|
|
|
<span class=label>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
2024-04-09 16:36:30 +02:00
|
|
|
%= text_area '${Name}', cols=>${cols | 40}, rows=>${rows | 10}
|
2024-04-09 11:33:50 +02:00
|
|
|
</span><br>
|
|
|
|
]]></Textarea>
|
|
|
|
|
|
|
|
<Date><![CDATA[
|
|
|
|
<span class=label>
|
|
|
|
%=$%=l('${Label}')
|
|
|
|
</span><span class=data>
|
2024-04-09 16:36:30 +02:00
|
|
|
%=date_field '${Name}' =>$$${Name}, pattern=>${regexp | .*}
|
2024-04-09 11:33:50 +02:00
|
|
|
</span><br>
|
|
|
|
]]></Date>
|
|
|
|
|
|
|
|
<Textinput><![CDATA[
|
|
|
|
<p><span class=label>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
2024-04-09 16:36:30 +02:00
|
|
|
%= text_field '${Name}', size => '${size | 50}', class => 'input' , pattern=>'${regexp | ".*"}' , placeholder=>'${placeholder | Name}'
|
2024-04-09 11:33:50 +02:00
|
|
|
<br></span></p>
|
|
|
|
]]></Textinput>
|
|
|
|
|
|
|
|
<SubHeader><![CDATA[<h2>${value}</h2>]]></SubHeader>
|
|
|
|
<Paragraph><![CDATA[<p>${value}</p>]]></Paragraph>
|
|
|
|
|
|
|
|
<Submit><![CDATA[
|
|
|
|
<span class='data'>
|
|
|
|
%= submit_button l('${value}'), class => 'action'
|
|
|
|
</span>]]>
|
|
|
|
</Submit>
|
2024-04-09 16:36:30 +02:00
|
|
|
|
|
|
|
<search><![CDATA[
|
|
|
|
<p><span class=label>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
|
|
|
</span>span></p>
|
|
|
|
]]>
|
|
|
|
</search>
|
|
|
|
|
|
|
|
<url><![CDATA[
|
|
|
|
<p><span class=label>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
|
|
|
</span>span></p>
|
|
|
|
]]>
|
|
|
|
</url>
|
|
|
|
|
|
|
|
<tel><![CDATA[
|
|
|
|
<p><span class=label>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
|
|
|
</span>span></p>
|
|
|
|
]]>
|
|
|
|
</tel>
|
|
|
|
|
|
|
|
<email><![CDATA[
|
|
|
|
<p><span class=label>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
|
|
|
</span>span></p>
|
|
|
|
]]>
|
|
|
|
</email>
|
|
|
|
|
|
|
|
<password><![CDATA[
|
|
|
|
<p><span class=label>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
|
|
|
</span>span></p>
|
|
|
|
]]>
|
|
|
|
</password>
|
|
|
|
|
|
|
|
<Extra6><![CDATA[
|
|
|
|
]]>
|
|
|
|
</Extra6>
|
|
|
|
|
2024-04-09 11:33:50 +02:00
|
|
|
</root>
|