Skip Menu |

This queue is for tickets about the Catalyst-Helper-Controller-Scaffold CPAN distribution.

Report information
The Basics
Id: 14373
Status: resolved
Priority: 0/
Queue: Catalyst-Helper-Controller-Scaffold

People
Owner: Nobody in particular
Requestors: frank [...] planet-interview.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.03
Fixed in: (no value)



Subject: Invalid HTML in generated templates
There are some errors in the generated templates, namely three invalidly closed HTML tags. A Patch is attached.
--- Scaffold.pm.orig 2005-08-31 11:50:32.548929200 +0200 +++ Scaffold.pm 2005-08-31 11:51:55.924254224 +0200 @@ -240,7 +240,7 @@ [% table_class.to_field(column).as_XML %]<br/> [% END %] <input type="submit" value="Add"/> -<form/> +</form> <br/> <a href="[% base _ '[- uri -]/list' %]">List</a> __edit__ @@ -254,7 +254,7 @@ [% item.to_field(column).as_XML %]<br/> [% END %] <input type="submit" value="Edit"/> -<form/> +</form> <br/> <a href="[% base _ '[- uri -]/list' %]">List</a> __list__ @@ -267,7 +267,7 @@ [% NEXT IF column == primary %] <th>[% column %]</th> [% END %] - <th/> + </th> </tr> [% FOR object = table_class.retrieve_all %] <tr>