diff --git a/app/views/users/registrations/edit.html.erb b/app/views/users/registrations/edit.html.erb index f272a6ab6..198fef335 100644 --- a/app/views/users/registrations/edit.html.erb +++ b/app/views/users/registrations/edit.html.erb @@ -31,18 +31,6 @@ - <% end %> - - <%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put, "data-for" => "avatar" }) do |f| %> - <%= hidden_field_tag "user[change_avatar]", "true" %> -
-
- <%= f.label t("users.registrations.edit.avatar_label") %>
- <% @user_avatar_url ||= avatar_path(current_user, :thumb) %> - <%= image_tag @user_avatar_url %>

- <%=t "users.registrations.edit.avatar_btn" %> -
-

<%=t "users.registrations.edit.avatar_title" %>

@@ -187,7 +175,7 @@
<% end %> - +

<%=t "users.statistics.title" %>