basic CRUD of groups, needs members to add

This commit is contained in:
tykayn 2019-08-27 17:08:52 +02:00
parent 1a6808a69f
commit cd58e7c081
2 changed files with 6 additions and 6 deletions

View File

@ -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?' }

View File

@ -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)
\|