Merge pull request #91 from ZeusWPI/fix/remove-avatar-label

Remove label for avatar field
This commit is contained in:
benji 2016-02-09 15:00:08 +01:00
commit 9cfb4bfaed

View file

@ -33,5 +33,5 @@
= f.submit "Go #{@user.private ? "public" : "private"}", class: "btn btn-default btn-block"
%li.list-group-item.text-muted
= f_form_for @user do |f|
= f.file_field :avatar
= f.file_field :avatar, skip_label: true
= f.submit "Change avatar", class: "btn btn-default btn-block"