textarea fails on rows attribute

2007-11-06 Thread Berger, Daniel
Hi, Camping 1.5.180 Ruby 1.8.6 It looks like Camping is choking on the 'rows' attribute for input tags: input(:name = 'cuid', :type = 'text', :size = 10, :rows = 3) That will fail with: Markaby::InvalidXhtmlError no attribute `rows' on input elements:

Re: textarea fails on rows attribute

2007-11-06 Thread Paul Thompson
If you want a textarea why not do this instead: textarea :name = 'cuid', :rows = 3, :cols = 10 Paul On Tue, Nov 06, 2007 at 10:42:42AM -0600, Berger, Daniel wrote: Hi, Camping 1.5.180 Ruby 1.8.6 It looks like Camping is choking on the 'rows' attribute for input tags: input(:name =

Re: textarea fails on rows attribute

2007-11-06 Thread Paul Thompson
If you want a textarea use the following: textarea :name = 'cdid', :cols = 20, :rows = 10 Paul ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: textarea fails on rows attribute

2007-11-06 Thread Jonas Pfenniger
Hi Daniel, Markaby throws an exception on malformed html entities to ensure valid HTML. The INPUT / tag doesn't accept that rows attribute because it is not set in the standard (or am I wrong?). I don't remember where but I think that it is possible to disable those checks if you want but I

RE: textarea fails on rows attribute

2007-11-06 Thread Berger, Daniel
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Thompson Sent: Tuesday, November 06, 2007 9:58 AM To: camping-list@rubyforge.org Subject: Re: textarea fails on rows attribute If you want a textarea use the following: textarea :name = 'cdid