summaryrefslogtreecommitdiff
path: root/app/views/shared/_file_picker_button.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/_file_picker_button.html.haml')
-rw-r--r--app/views/shared/_file_picker_button.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/_file_picker_button.html.haml b/app/views/shared/_file_picker_button.html.haml
index 9e6a7626d89..1d688e7f4b0 100644
--- a/app/views/shared/_file_picker_button.html.haml
+++ b/app/views/shared/_file_picker_button.html.haml
@@ -1,8 +1,8 @@
- classes = local_assigns.fetch(:classes, '')
%span.js-filepicker
- %button.gl-button.btn.js-filepicker-button{ type: 'button', class: classes }= _("Choose file…")
- %span.file_name.js-filepicker-filename= _("No file chosen")
+ %button.gl-button.btn.btn-default.js-filepicker-button{ type: 'button', class: classes }= _("Choose file…")
+ %span.file_name.js-filepicker-filename= _("No file chosen.")
= f.file_field field, class: "js-filepicker-input hidden"
- if help_text.present?
.form-text.text-muted= help_text