Skip to content

Instantly share code, notes, and snippets.

@nashirox
Last active February 8, 2018 12:27
Show Gist options
  • Save nashirox/679c6d00e8d42ad3ee31 to your computer and use it in GitHub Desktop.
Save nashirox/679c6d00e8d42ad3ee31 to your computer and use it in GitHub Desktop.
f.submitタグにアイコンを埋め込む
<%= button_tag, class: "btn btn-default btn-sm" do %>
<%= content_tag :span, "送信", class: "glyphicon glyphicon-star" %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment