How to I generate a <span> tag

I’m having a problem generating this HTML is my _header.rhtml.

labelHome

I know I need to use the link_to and image_tag but I have not been
able to generate the

This is the basic code

<% if request.path_parameters['controller'] == "home"%>

:controller => ‘home’, :action => ‘index’
<% end %

On 8/27/07, Mark [email protected] wrote:

I’m having a problem generating this HTML is my _header.rhtml.

labelHome

I know I need to use the link_to and image_tag but I have not been
able to generate the

link_to(image_tag(‘image_file_name’), content_tag(‘span’, ‘link
location’))

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs