I am working on a Rails project and I want to use file_field_tag but I'd like it looks like a button.
I have this:
with this code:
= file_field_tag 'attachment'
I want something like this:
and I attempted this:
= file_field_tag 'attachment', class: 'btn btn-large btn-warning'
but I got this:
How can I change the file_field_tag's appearance in order to achieve it looks like a button?