gitlab-org--gitlab-foss/app/views/shared/_choose_avatar_button.html.haml
Luke Bennett 8dc7efb2b0
Improve project avatar settings
Prioritize and simplify project settings content.
2019-03-28 10:43:23 +00:00

4 lines
255 B
Text

%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.")