Sha256: 92265a58686c8e2bdc9f39f4b88dd28c9b3ac81ccab7bf9c74f8e24a34624f12

Contents?: true

Size: 877 Bytes

Versions: 5

Compression:

Stored size: 877 Bytes

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>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}
            %li <b>About:</b> #{profile.about}
        .col-sm-8
          Shared galleries:<br />
          - profile.shared_galleries.unscoped.where( :is_trash => false ).each do |g|
            &gt; #{link_to g.name, gallery_path(g.galleryname)} <br />
            = render 'meta', :item => g
          

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ish_manager-0.1.8.135 app/views/ish_manager/user_profiles/index.haml
ish_manager-0.1.8.134 app/views/ish_manager/user_profiles/index.haml
ish_manager-0.1.8.133 app/views/ish_manager/user_profiles/index.haml
ish_manager-0.1.8.132 app/views/ish_manager/user_profiles/index.haml
ish_manager-0.1.8.131 app/views/ish_manager/user_profiles/index.haml