2020-12-15 12:10:17 +00:00
|
|
|
- classes = local_assigns.fetch(:classes, '')
|
|
|
|
|
2020-06-16 12:09:00 +00:00
|
|
|
%span.js-filepicker
|
2021-04-13 21:11:25 +00:00
|
|
|
%button.gl-button.btn.btn-default.js-filepicker-button{ type: 'button', class: classes }= _("Choose file…")
|
2021-03-17 18:09:01 +00:00
|
|
|
%span.file_name.js-filepicker-filename= _("No file chosen.")
|
2020-06-16 12:09:00 +00:00
|
|
|
= f.file_field field, class: "js-filepicker-input hidden"
|
|
|
|
- if help_text.present?
|
|
|
|
.form-text.text-muted= help_text
|