debian-mirror-gitlab/app/views/shared/_choose_avatar_button.html.haml
2019-07-07 11:18:12 +05:30

5 lines
255 B
Plaintext

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