debian-mirror-gitlab/app/views/shared/_choose_avatar_button.html.haml
2019-05-18 00:54:41 +05:30

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