[Radiant] Strange p and br / rendering in views

2009-10-14 Thread qutic development
Hi Folks, hope you can help me with a strange issue I have with radiant 0.8.1 I am using the share_layouts extension to render a standard crud mvc (not admin) for an extension I am writing. But the following code is rendered with extra p and br html tags! [codesample] % form_for :visitor,

Re: [Radiant] Strange p and br / rendering in views

2009-10-14 Thread Mohit Sindhwani
qutic development wrote: [codesample] % form_for :visitor, :url = visitors_path do |f| -% tr td%= f.label( :login) %/td td%= f.text_field(:login) % /tr /table [/codesample] Do you want to try to see if terminating it with -% works better? % some_code -% Cheers, Mohit. 10/14/2009

Re: [Radiant] Strange p and br / rendering in views

2009-10-14 Thread qutic development
Good idea, but does nor change the behaviour. Also strange is that the value of a text_area is rendered with extra br /. On 14.10.2009, at 17:29, Mohit Sindhwani wrote: Do you want to try to see if terminating it with -% works better? % some_code -% Cheers, Mohit.

Re: [Radiant] Strange p and br / rendering in views

2009-10-14 Thread Mohit Sindhwani
qutic development wrote: Good idea, but does nor change the behaviour. Also strange is that the value of a text_area is rendered with extra br /. Not sure if it affects, but you have: % form_for :visitor, :url = visitors_path do |f| -% tr td%= f.label( :login) %/td td%=

Re: [Radiant] Strange p and br / rendering in views (solved)

2009-10-14 Thread qutic development
Thanks a lot Mohit! You saved my day! That is it! Now all is rendered like it should be ;-) On 14.10.2009, at 18:20, Mohit Sindhwani wrote: You could wrap the offending bit in notextile ___ Radiant mailing list Post: Radiant@radiantcms.org

Re: [Radiant] Strange p and br / rendering in views (solved)

2009-10-14 Thread Mohit Sindhwani
qutic development wrote: Thanks a lot Mohit! You saved my day! That is it! Now all is rendered like it should be ;-) Great :) Cheers, Mohit. 10/15/2009 | 12:35 AM. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: