You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
psfpeqmhf/app/views/users/member_search.json.jbuilder

17 lines
552 B

json.users do
json.array! @users do |user|
json.numid user.id
json.username user.real_name
json.login user.login
json.phone user.hidden_phone
json.email user.hidden_mail
json.student_number user.student_id
json.school_name user.user_extension.school.try(:name)
json.depart_name user.user_extension.department.try(:name)
json.auth user.authentication
json.last_login_on user.last_login_on
json.added container_member_of?(@container_id, @container_type, user.id, @role)
end
end
json.user_count @users_size