Show all study groups per consumer

This commit is contained in:
Sebastian Serth
2022-09-20 14:34:09 +02:00
committed by Sebastian Serth
parent 3869785ddd
commit 664110f8f1
3 changed files with 23 additions and 21 deletions

View File

@@ -6,3 +6,5 @@ h1
- %w[oauth_key oauth_secret].each do |attribute|
= row(label: "consumer.#{attribute}") do
= content_tag(:input, nil, class: 'form-control bg-secondary', readonly: true, value: @consumer.send(attribute))
= render('study_groups/table', study_groups: @consumer.study_groups.sort)