mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-21 22:54:09 +01:00
More code style fixes
This commit is contained in:
parent
465419f46a
commit
d4c9041ccd
61 changed files with 406 additions and 422 deletions
|
|
@ -2,11 +2,12 @@ module UsersHelper
|
|||
def remote_delete_user(user)
|
||||
return link_to(
|
||||
image_tag("blank.png", :title => t('users.destroy_user'), :class => "delete_item"),
|
||||
url_for({:controller => 'users', :action => 'destroy', :id => user.id}),
|
||||
{ :id => "delete_user_#{user.id}",
|
||||
url_for(:controller => 'users', :action => 'destroy', :id => user.id), {
|
||||
:id => "delete_user_#{user.id}",
|
||||
:class => "delete_user_button",
|
||||
:title => t('users.destroy_user'),
|
||||
:x_confirm_message => t('users.destroy_confirmation', :login => user.login)
|
||||
})
|
||||
}
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue