Commit 557d61e8 authored by Yogi's avatar Yogi Committed by Nicolò Maria Mezzopera

Add btn-default class for file picker button

parent f043ace9
- 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