HTML to Rails, html link to rails link_to -


how write code rails using <%= link_to %>.

<a href="#">   <div class="button-large">      <p>web development</p>    </div> </a> 

try this

<%= link_to "#" %>   <div class="button-large">     <p>web development</p>   </div> <% end %> 

hope helps!


Comments