how do i write a Logo thats made out of pure css so its just like how i would write it in its html form, how does it look in Ruby/Ruby on Rails?
Right now i have this:
<div id="logo">
<h1><%= link_to 'Title <span>title</span>'.html_safe, root_path %></h1>
</div>
I am new to Ruby and Rails so i have no idea how to include the < span > and i don’t think i should be playing with the .Html_safe either.
In cases like this, I prefer to have more control over the HTML, since including HTML as a string to a helper method is just nasty.
The helpers like
link_toare helpful, but when they make you jump through hoops they aren’t worth using.