On Sep 16, 2013, at 7:16 AM, trekr67 wrote:

> Hello,
> 
> I've got the following piece of code:-
> 
> %section#download
>   %h1= t "section.title"  
>   .content
>     %p 
>     = I18n.t "section.first_box.first" 
> 
> in name.html.erb file.
> 
> But I noticed that the css formatting that would apply to the %p tag no 
> longer applies because of the internationalization tag I18n.t. Does anyone 
> know how I can make sure that the text being translated 
> "section.first_box.first" will preserve it's css formatting and not have it 
> removed because of the I18n.t tag?

Can you write out, in HTML, how you want the final code to appear? The use of 
HAML may be confusing things here. 

Walter

> I'm a Rails newbie
> 
> Thanks
> 
> Angela
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/0431a4e5-6f3f-4c2c-a0bb-4aac4580e988%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/BBA2B7A7-AE0F-4891-940F-37D31344DE5E%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to