tap/app/views/user_avatar/new.html.erb

11 lines
225 B
Text
Raw Normal View History

2015-03-20 03:57:00 +01:00
<h2>Add avatar to <%= @user.uid %></h2>
<%= render 'flash' %>
<%= f_form_for @user, url: '/user_avatar', method: :post do |f| %>
<%= f.error_messages %>
<%= f.file_field :avatar %>
<%= f.submit "Update" %>
<% end %>