I\'m new to rails, and just found the simple_form gem. I installed it with bootstrap suport, but now I can\'t get this code to work the way I want it
<%=
I think you can't do it with simple_form. But I have good news for you. You should be fine using rails helper along side with simple form.
just do
button_tag(type: 'submit', class: "btn btn-primary") do
content_tag(:i, class: "icon-ok icon-white")
"Save"
end
Not sure if this works, even the syntax but it should give you a hint