link_toにBootstrapのアイコンの1つを使用しようとしています。
これらは機能しません::
<% link_to '<i class="icon-pencil"></i>', task_path(task)%>
<% link_to task_path(task), html_options = {:class => 'icon-pencil'} %>
助けていただければ幸いです!
link_toにBootstrapのアイコンの1つを使用しようとしています。
これらは機能しません::
<% link_to '<i class="icon-pencil"></i>', task_path(task)%>
<% link_to task_path(task), html_options = {:class => 'icon-pencil'} %>
助けていただければ幸いです!