Sha256: f20bf7c99987d4d0bf12362e51aca2c1b5b8bd5bb0cacfd58952ae8d94e3f91c

Contents?: true

Size: 753 Bytes

Versions: 3

Compression:

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ish_manager-0.1.8.85 app/views/ish_manager/user_profiles/index.haml
ish_manager-0.1.8.84 app/views/ish_manager/user_profiles/index.haml
ish_manager-0.1.8.83 app/views/ish_manager/user_profiles/index.haml