22 lines
520 B
Plaintext
22 lines
520 B
Plaintext
%#
|
|
%# Generated by SM2Gen version:${version}
|
|
%#
|
|
<div id="${PackageName}-${route}">
|
|
<script>
|
|
window.onload = function() {
|
|
SelectInput();
|
|
};
|
|
</script>
|
|
<h2>
|
|
%= l("${prefix} Hello ${route}");
|
|
</h2>
|
|
% my $btn = l('APPLY');
|
|
%= form_for "${PackageName}d" => (method => 'POST') => begin
|
|
|
|
% param 'trt' => $$${prefix}_data->{trt} unless param 'trt';
|
|
%= hidden_field 'trt' => $$${prefix}_data->{trt}
|
|
%# Inputs etc in here.
|
|
%# Probably finally by a submit.
|
|
% end
|
|
</div>
|