2015-03-20 01:21:56 +00:00
|
|
|
<h2>Edit <%= @user.nickname %></h2>
|
|
|
|
<%= render 'flash' %>
|
|
|
|
|
|
|
|
<%= f_form_for @user do |f| %>
|
|
|
|
<%= f.error_messages %>
|
|
|
|
|
2015-07-01 09:16:08 +00:00
|
|
|
<%= image_tag @user.avatar(:large), class: "img-thumbnail img-responsive" %>
|
2015-03-20 01:21:56 +00:00
|
|
|
<%= f.file_field :avatar %>
|
2015-06-30 20:30:34 +00:00
|
|
|
<p>
|
|
|
|
If you check this option, nobody will be able to order stuff for you through koelkast.
|
|
|
|
Only on your account things can be ordered.
|
|
|
|
<p>
|
|
|
|
<%= f.check_box :private %>
|
2015-03-20 01:21:56 +00:00
|
|
|
|
|
|
|
<%= f.submit "Update" %>
|
|
|
|
<% end %>
|