Friday, October 12, 2012

[Rails] How to include html tag inside rails label tag

Hello pls help me,
below is my code



<label
style="width:175px;text_align:left;float:left;font-weight:bold;font-size:13px;">Group
<font size="1" color="red">*</font></label>


How to write this html code inside label_tag of rails ????
am clear till <font size="1" color="red">*</font>...

label_tag
'Group',nil,:style=>'width:175px;text_align:left;float:left;font-weight:bold;font-size:13px;'

My problem is how to include <font size="1" color="red">*</font> into
this label_tag

Thanks in advance,
Manoj

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate