<%= _('Name') %> | |
---|---|
<%= image_tag('/images/grip-clue.png') %>
<%= profile_image(user, :icon) %>
<%= [link_to_profile(user.short_name + " (#{user.identifier})", user.identifier, :title => user.name),
(user.sex ? gettext(user.sex.capitalize) : _('Sex not informed')),
user.location.empty? ? nil : user.location ].compact.join(' ') %>
<%= draggable_element(user.identifier, :revert => true) %>
|
<%= button_to_remote_without_text(:add, _('Add member'), { :loading => '$("members-list").addClassName("loading")', :update => 'members-list', :url => {:action => 'add_member', :profile => profile.identifier, :id => user.identifier}, :success => "$('tr-#{user.identifier}').hide()", :complete => '$("members-list").removeClassName("loading")'}) %> |
<%= _('You must type at least 3 characters') %> |