gitlab-org--gitlab-foss/app/views/shared/_choose_avatar_button.html.haml

5 lines
255 B
Text
Raw Normal View History

%button.btn.js-choose-avatar-button{ type: 'button' }= _("Choose file…")
%span.file_name.js-avatar-filename= _("No file chosen")
= f.file_field :avatar, class: "js-avatar-input hidden"
.form-text.text-muted= _("The maximum file size allowed is 200KB.")