% layout 'default';
% my $action = $uid;
-% $action =~ s/^.+\.([^\.]+)$/$1/;
-% $action = url_for( controller => 'data', action => $action );
+% $action =~ s!\.!/!g;
+% $action =~ s!^\d+/\d+!!;
<form method=post action=<%= $action %>>
<input type=submit value="<%= $action %>">
<tt><%= $uid %></tt>
% while ( @$params ) {
% my $n = shift @$params;
% my $v = shift @$params;
-<li><label>
+<li><label class=checkbox_to_text>
<%= $n %>
+<span class=value title="double click to edit">
<input type=checkbox name="<%= $n %>" value="<%= $v %>" checked>
<%= $v %>
+</span>
</label>
% }
</ul>