mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
⚡ basic CRUD of groups, needs members to add
This commit is contained in:
parent
1a6808a69f
commit
cd58e7c081
@ -10,7 +10,7 @@
|
||||
%th Name
|
||||
%th Createat
|
||||
%th Visibility
|
||||
%th Members
|
||||
%th Creator ID
|
||||
%th
|
||||
%th
|
||||
%th
|
||||
@ -19,9 +19,9 @@
|
||||
- @user_groups.each do |user_group|
|
||||
%tr
|
||||
%td= user_group.name
|
||||
%td= user_group.createAt
|
||||
%td= user_group.created_at
|
||||
%td= user_group.visibility
|
||||
%td= user_group.members
|
||||
%td= user_group.account_id
|
||||
%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?' }
|
||||
|
@ -5,13 +5,13 @@
|
||||
= @user_group.name
|
||||
%p
|
||||
%b Createat:
|
||||
= @user_group.createAt
|
||||
= @user_group.created_at
|
||||
%p
|
||||
%b Visibility:
|
||||
= @user_group.visibility
|
||||
%p
|
||||
%b Members:
|
||||
= @user_group.members
|
||||
%b Creator:
|
||||
= @user_group.account_id
|
||||
|
||||
= link_to 'Edit', edit_user_group_path(@user_group)
|
||||
\|
|
||||
|
Loading…
x
Reference in New Issue
Block a user