Sha256: 32308d31397adf710ab7d942de1fd2a2f1400abfa13e8ffa6623d7d74bdbb126
Contents?: true
Size: 1.09 KB
Versions: 20
Compression:
Stored size: 1.09 KB
Contents
%h5 User Profiles (#{@user_profiles.count}) = link_to '[+]', new_user_profile_path - @user_profiles.each do |profile| .panel .panel-body .row .col-sm-4 %ul %li= link_to '[edit]', edit_user_profile_path( profile ) %li <b>Email:</b> #{profile.email} %li <b>username:</b> #{profile.username} %li <b>Name:</b> #{profile.name} %li <b>Role:</b> #{profile.role_name} %li <b>User.email:</b> #{profile.user ? profile.user.email : nil} %li <b>City:</b> #{profile.current_city ? profile.current_city.name : nil} .col-sm-8 %h5 Shared galleries - profile.shared_galleries.unscoped.where( :is_trash => false ).each do |g| > #{link_to g.name, gallery_path(g.galleryname)} <br /> = render 'meta', :item => g <hr /> %h5 Newsitems - profile.newsitems.each do |n| = render 'ish_manager/newsitems/item', n: n, profile_id: profile.id <hr /> .row Address: = profile.addresses[0].inspect
Version data entries
20 entries across 20 versions & 1 rubygems