So this is what I have written in html:
<a href="/" style="border-right: 1px solid rgb(231, 231, 231);">Home</a>
and I was wondering how I would convert that into Ruby format, this is what I have:
<%= link_to "Home", style: border-right: 1px solid rgb(231, 231, 231);, root_path %>
Aucun commentaire:
Enregistrer un commentaire