diff options
Diffstat (limited to 'app/views/shared/_choose_avatar_button.html.haml')
-rw-r--r-- | app/views/shared/_choose_avatar_button.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/shared/_choose_avatar_button.html.haml b/app/views/shared/_choose_avatar_button.html.haml new file mode 100644 index 00000000000..0d46d047134 --- /dev/null +++ b/app/views/shared/_choose_avatar_button.html.haml @@ -0,0 +1,4 @@ +%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.") |