tap/app/views/users/edit.html.erb

21 lines
487 B
Text
Raw Normal View History

2015-03-20 02:21:56 +01:00
<%= render 'flash' %>
2015-09-01 17:40:18 +02:00
<div class="row">
<%= render 'sidebar' %>
<div class="col-sm-9">
<h2>Edit your settings</h2>
<%= f_form_for @user do |f| %>
<%= f.error_messages %>
2015-03-20 02:21:56 +01:00
2015-09-01 17:40:18 +02:00
<%= f.file_field :avatar %>
<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 02:21:56 +01:00
2015-09-01 17:40:18 +02:00
<%= f.submit "Update" %>
<% end %>
</div>
</div>