2024-04-09 11:33:50 +02:00
|
|
|
<root>
|
|
|
|
<Text><![CDATA[
|
|
|
|
<p><span class=label>
|
2024-06-13 17:38:25 +02:00
|
|
|
%=l('${prefix}_${Label}')
|
2024-04-09 11:33:50 +02:00
|
|
|
</span><span class=data>
|
2024-06-13 17:38:25 +02:00
|
|
|
%= ${Value}
|
2024-04-09 11:33:50 +02:00
|
|
|
</span></p>
|
|
|
|
]]></Text>
|
|
|
|
|
|
|
|
<Selection><![CDATA[
|
|
|
|
<p><span class=label>
|
2024-04-10 09:41:31 +02:00
|
|
|
%=l('${prefix}_${Label}')
|
2024-04-09 11:33:50 +02:00
|
|
|
</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>
|
2024-04-10 09:41:31 +02:00
|
|
|
%=l('${prefix}_${Label}')
|
2024-04-09 11:33:50 +02:00
|
|
|
</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>
|
2024-05-05 10:31:10 +02:00
|
|
|
%=l('${prefix}_${Label}')
|
2024-04-09 11:33:50 +02:00
|
|
|
</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>
|
2024-04-10 09:41:31 +02:00
|
|
|
%=l('${prefix}_${Label}')
|
2024-04-09 11:33:50 +02:00
|
|
|
</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>
|
|
|
|
|
2024-04-28 13:03:06 +02:00
|
|
|
<SubHeader><![CDATA[
|
2024-05-05 10:31:10 +02:00
|
|
|
<h2><%=l('${value}')%></h2>]]>
|
2024-04-28 13:03:06 +02:00
|
|
|
</SubHeader>
|
2024-04-24 17:09:23 +02:00
|
|
|
|
|
|
|
<Paragraph><![CDATA[
|
|
|
|
<p>
|
2024-05-05 10:31:10 +02:00
|
|
|
%= l('${value}')
|
2024-04-24 17:09:23 +02:00
|
|
|
</p>
|
|
|
|
]]></Paragraph>
|
2024-04-09 11:33:50 +02:00
|
|
|
|
|
|
|
<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>
|
2024-04-10 09:41:31 +02:00
|
|
|
%=l('${prefix}_${Label}')
|
2024-04-09 16:36:30 +02:00
|
|
|
</span><span class=data>
|
|
|
|
</span>span></p>
|
|
|
|
]]>
|
|
|
|
</search>
|
|
|
|
|
|
|
|
<url><![CDATA[
|
|
|
|
<p><span class=label>
|
2024-05-05 10:31:10 +02:00
|
|
|
%=l('${Label}')
|
2024-04-09 16:36:30 +02:00
|
|
|
</span><span class=data>
|
|
|
|
</span>span></p>
|
|
|
|
]]>
|
|
|
|
</url>
|
|
|
|
|
|
|
|
<tel><![CDATA[
|
|
|
|
<p><span class=label>
|
2024-05-05 10:31:10 +02:00
|
|
|
%=l('${Label}')
|
2024-04-09 16:36:30 +02:00
|
|
|
</span><span class=data>
|
|
|
|
</span>span></p>
|
|
|
|
]]>
|
|
|
|
</tel>
|
|
|
|
|
|
|
|
<email><![CDATA[
|
|
|
|
<p><span class=label>
|
2024-05-05 10:31:10 +02:00
|
|
|
%=l('${Label}')
|
2024-04-09 16:36:30 +02:00
|
|
|
</span><span class=data>
|
|
|
|
</span>span></p>
|
|
|
|
]]>
|
|
|
|
</email>
|
|
|
|
|
|
|
|
<password><![CDATA[
|
2024-06-13 17:38:25 +02:00
|
|
|
<p><span class='label'>
|
2024-05-05 10:31:10 +02:00
|
|
|
%=l('${Label}')
|
2024-04-09 16:36:30 +02:00
|
|
|
</span><span class=data>
|
|
|
|
</span>span></p>
|
|
|
|
]]>
|
|
|
|
</password>
|
|
|
|
|
2024-04-24 17:09:23 +02:00
|
|
|
<Table><![CDATA[
|
2024-06-13 17:38:25 +02:00
|
|
|
<br /><table class="sme-border TableSort sme-table">
|
2024-04-24 17:09:23 +02:00
|
|
|
<thead>
|
2024-06-13 17:38:25 +02:00
|
|
|
<tr table-head-row><tal:block tal:repeat="ColHead TopHeadings">
|
|
|
|
<th class='sme-border table-head-col table-head-col-${ColHead} '><%=l('${ColHead}')%></th></tal:block>
|
2024-04-24 17:09:23 +02:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2024-04-25 17:23:07 +02:00
|
|
|
% my $control_data = $self->stash('${TableControl}');
|
2024-04-24 17:09:23 +02:00
|
|
|
% foreach my $row (@$control_data) {
|
2024-06-13 17:38:25 +02:00
|
|
|
<tr class='table-row'><tal:block tal:repeat="ColContent Columns">
|
|
|
|
<td class='sme-border table-col table-col-${ColContent}'><%=$c->render_to_string(inline=>$row->{${ColContent}})%></td></tal:block>
|
2024-04-24 17:09:23 +02:00
|
|
|
</tr>
|
|
|
|
%}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2024-04-09 16:36:30 +02:00
|
|
|
]]>
|
2024-04-24 17:09:23 +02:00
|
|
|
</Table>
|
2024-04-09 16:36:30 +02:00
|
|
|
|
2024-09-12 19:54:38 +02:00
|
|
|
<Preformatted><![CDATA[
|
|
|
|
<pre>
|
|
|
|
${value}'
|
|
|
|
</pre>
|
|
|
|
]]>
|
|
|
|
</Preformatted>
|
|
|
|
|
2024-04-09 11:33:50 +02:00
|
|
|
</root>
|