Unverified Commit ac461307 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Allow set group avatar when create group. Not only edit page

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 4266206c01d1
......@@ -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.
Supports Markdown
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