Commit 70ea436f authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

Merge branch 'btn-default-filepicker' into 'master'

Add btn-default class for file picker button

See merge request gitlab-org/gitlab!58238
parents ccb9a54c 557d61e8
- classes = local_assigns.fetch(:classes, '')
%span.js-filepicker
%button.gl-button.btn.js-filepicker-button{ type: 'button', class: classes }= _("Choose file…")
%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?
......
---
title: Add btn-default class for file picker button
merge_request: 58238
author: Yogi (@yo)
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment