tap/app/views/users/edit.html.erb
2015-03-20 02:21:56 +01:00

10 lines
185 B
Text

<h2>Edit <%= @user.nickname %></h2>
<%= render 'flash' %>
<%= f_form_for @user do |f| %>
<%= f.error_messages %>
<%= f.file_field :avatar %>
<%= f.submit "Update" %>
<% end %>