[gantry] r1479 committed - - Don't output <br> after hidden form elements.

0 views
Skip to first unread message

codesite...@google.com

unread,
Jan 24, 2011, 1:06:54 PM1/24/11
to gan...@googlegroups.com
Revision: 1479
Author: net.angelus
Date: Mon Jan 24 10:05:53 2011
Log: - Don't output <br> after hidden form elements.
http://code.google.com/p/gantry/source/detail?r=1479

Modified:
/trunk/Changes
/trunk/META.yml
/trunk/root/sfbb/form.tt

=======================================
--- /trunk/Changes Wed Jun 2 08:57:53 2010
+++ /trunk/Changes Mon Jan 24 10:05:53 2011
@@ -1,5 +1,8 @@
This file documents the revision history for Perl extension Gantry

+3.78 Mon Jan 24 12:04:00 CDT 2011
+ - Don't output <br> after hidden form elements.
+
3.77 Tues June 01 18:23:00 CDT 2010
- Update form templates to allow text field to be disabled.

=======================================
--- /trunk/META.yml Wed Jun 2 08:57:53 2010
+++ /trunk/META.yml Mon Jan 24 10:05:53 2011
@@ -17,7 +17,7 @@
provides:
Gantry:
file: lib/Gantry.pm
- version: 3.76
+ version: 3.77
Gantry::Build:
file: lib/Gantry/Build.pm
Gantry::Conf:
@@ -252,4 +252,4 @@
perl: 5.008000
resources:
license: http://dev.perl.org/licenses/
-version: 3.76
+version: 3.77
=======================================
--- /trunk/root/sfbb/form.tt Wed Jun 2 08:57:53 2010
+++ /trunk/root/sfbb/form.tt Mon Jan 24 10:05:53 2011
@@ -77,8 +77,11 @@
[%- PROCESS field
dta = field_data
row = view.form.row
- layout = 'default' %]
+ layout = 'default'
+ %]
+ [% UNLESS field_data.type.match('^hidden$') %]
<br id="[% field_data.name _ '_br' %]"
style="clear: both" />
+ [% END %]
[% END %]
</fieldset>
[%- END %]

Reply all
Reply to author
Forward
0 new messages