Answers for "button_tag rails use font awesome in submit"

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