Answers for "rails button_to font awesome"

0

button submit rails with font awesome

<%= button_tag type: 'submit', class: "" do %>
  <i class="fas fa-search"></i>
<% end %>
Posted by: Guest on January-21-2021
0

font awesome icon rails submit button

<%= button_tag type: 'submit', class: "button my-button", id: "register-button" do %>
    <i class="fa fa-lock" aria-hidden="true"></i>
<% end %>
Posted by: Guest on November-30-2020

Browse Popular Code Answers by Language