Forward person when a programming group is created with them

Further, we remove the "check invitation" button and extract some methods to our new ProgrammingGroups object in JavaScript.

Co-authored-by: Sebastian Serth <Sebastian.Serth@hpi.de>
This commit is contained in:
Kira Grammel
2023-09-19 22:14:33 +02:00
committed by GitHub
parent 9848c900c3
commit 8a5dc7abc0
9 changed files with 90 additions and 27 deletions

View File

@ -6,4 +6,3 @@
/.help-block.form-text = t('.hints.programming_partner_ids')
.actions.mb-0
= render('shared/submit_button', f: f, object: @programming_group)
a.btn.btn-secondary.float-end href=new_exercise_programming_group_path(@exercise) == t('programming_groups.new.check_invitation')

View File

@ -1,5 +1,5 @@
h1 = t('programming_groups.new.create_programming_pair')
.row
#matching.row data-exercise-id=@exercise.id
.col-md-6
p
=> t('programming_groups.new.own_user_id')