Skip to content

Instantly share code, notes, and snippets.

@cdesch
Created July 25, 2018 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdesch/af7274f985868999c8d738848c7c75cd to your computer and use it in GitHub Desktop.
Save cdesch/af7274f985868999c8d738848c7c75cd to your computer and use it in GitHub Desktop.
https://github.com/plataformatec/simple_form/pull/531
<%= f.input :field, :wrapper_html => {class: "input-prepend input-append"} do %>
<span class="add-on">$</span>
<%= f.input_field :field %>
<span class="add-on">%</span>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment