Remove label for avatar field

This commit is contained in:
benji 2016-02-09 00:29:51 +01:00
parent a4776da803
commit bdb5bbc851

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"