mirror of https://framagit.org/tykayn/mastodon.git
33 lines
764 B
Plaintext
33 lines
764 B
Plaintext
|
- content_for :page_title do
|
||
|
= 'Groupes'
|
||
|
.container
|
||
|
.page-header
|
||
|
%h1 Listing user_groups
|
||
|
|
||
|
%table.table-responsive.table-striped
|
||
|
%thead
|
||
|
%tr
|
||
|
%th Name
|
||
|
%th Createat
|
||
|
%th Visibility
|
||
|
%th Members
|
||
|
%th
|
||
|
%th
|
||
|
%th
|
||
|
|
||
|
%tbody
|
||
|
- @user_groups.each do |user_group|
|
||
|
%tr
|
||
|
%td= user_group.name
|
||
|
%td= user_group.createAt
|
||
|
%td= user_group.visibility
|
||
|
%td= user_group.members
|
||
|
%td= link_to 'Show', user_group
|
||
|
%td= link_to 'Edit', edit_user_group_path(user_group)
|
||
|
%td= link_to 'Destroy', user_group, :method => :delete, :data => { :confirm => 'Are you sure?' }
|
||
|
|
||
|
%br
|
||
|
|
||
|
.text-btn
|
||
|
= link_to 'New User group', new_user_group_path
|