Commit de8c43f6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'new-group-avatar' into 'master'

Ability to upload avatar when create new group

Before this change you dont know you can upload avatar for group until you visit group edit page.

After this change you are able to upload avatar during group creation
parents babfc068 ac461307
......@@ -13,6 +13,17 @@
= f.text_area :description, maxlength: 250, class: "form-control js-gfm-input", rows: 4
= f.label :avatar, "Group avatar", class: 'control-label'
%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 100KB.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment