55 lines
1.3 KiB
XML
55 lines
1.3 KiB
XML
|
<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}';
|
||
|
%= text_area '${Name}', cols=>50, rows=>15
|
||
|
</span><br>
|
||
|
]]></Textarea>
|
||
|
|
||
|
<Date><![CDATA[
|
||
|
<span class=label>
|
||
|
%=$%=l('${Label}')
|
||
|
</span><span class=data>
|
||
|
%=date_field '${Name}' =>$$${Name}
|
||
|
</span><br>
|
||
|
]]></Date>
|
||
|
|
||
|
<Textinput><![CDATA[
|
||
|
<p><span class=label>
|
||
|
%=l('${Label}')
|
||
|
</span><span class=data>
|
||
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||
|
%= text_field '${Name}', size => '60', class => 'input'
|
||
|
<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>
|
||
|
</root>
|