debian-mirror-gitlab/app/views/shared/_choose_group_avatar_button.html.haml
2017-08-17 22:00:37 +05:30

7 lines
287 B
Text

%button.choose-btn.btn.btn-sm.js-choose-group-avatar-button{ type: 'button' }
%i.fa.fa-paperclip
%span Choose File ...
 
%span.file_name.js-avatar-filename File name...
= f.file_field :avatar, class: 'js-group-avatar-input hidden'
.light The maximum file size allowed is 200KB.