Sha256: d25598c39d15d449903cdf8891ad6774aa2fb1bc1ce4870096eb8827e9d72aa8

Contents?: true

Size: 829 Bytes

Versions: 1

Compression:

Stored size: 829 Bytes

Contents

%p#notice= notice

%p
  %b Name:
  = @user_group.name

%p
  %b Description:
  = @user_group.description

%p Members

%table
  %tr
    %th username
    %th last name
    %th first name
    %th email
    %th
    %th

  - @user_group.members.each do |user|
    %tr
      %th= user.username
      %th= user.last_name
      %th= user.first_name
      %th= user.email
      %th= link_to 'Show', user
      %th= link_to 'Remove', remove_member_user_group_path(@user_group, :user_id=>user), method: :delete, data: { confirm: 'Are you sure?' }
%br

= link_to 'Add Member', add_members_user_group_path

%section.content-section.permissions
  %header
    %h2.permissions Permissions
  .content
    = render :partial => 'alberich/permissions/objects'

= link_to 'Edit', edit_user_group_path(@user_group)
|
= link_to 'Back', user_groups_path

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alberich-0.2.0 test/dummy/app/views/user_groups/show.html.haml