diff --git a/app/views/my/_avatar.html.erb b/app/views/my/_avatar.html.erb index e1c8336..2b044de 100644 --- a/app/views/my/_avatar.html.erb +++ b/app/views/my/_avatar.html.erb @@ -11,17 +11,17 @@ element.setAttributeNode(attr);
<%=h l(:label_avatar) %><%= avatar(@user, :size => "64") %>
<%=h l(:label_gravatar) %><%= link_to(l(:label_change_gravatar), 'http://gravatar.com/', {:target=>'_blank'}) %>
<%=h l(:label_delete) %> + <%= link_to image_tag('delete.png'), { :controller => 'attachments', :action => 'destroy', :id => av }, + :confirm => l(:text_are_you_sure), + :method => :delete, + :class => 'delete', + :title => l(:button_delete) %>
<%=h l(:label_add_avatar) %><%= file_field_tag "avatar" %>