Answer the question
In order to leave comments, you need to log in
How to make file_field a solid button with custom styles?
How to make file_field a solid big button without the caption "File is not ..." and apply styles to it?
Answer the question
In order to leave comments, you need to log in
f.file_field :file, id: "file"
label.btn.btn-primary for="file" Прикрепить файл
input[type=file] {display: none}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question