Add image_tag of avatar on user edit page

This commit is contained in:
benji 2015-07-01 11:16:08 +02:00
parent f5c970af53
commit bf52027229

View file

@ -4,6 +4,7 @@
<%= f_form_for @user do |f| %> <%= f_form_for @user do |f| %>
<%= f.error_messages %> <%= f.error_messages %>
<%= image_tag @user.avatar(:large), class: "img-thumbnail img-responsive" %>
<%= f.file_field :avatar %> <%= f.file_field :avatar %>
<p> <p>
If you check this option, nobody will be able to order stuff for you through koelkast. If you check this option, nobody will be able to order stuff for you through koelkast.