Files
codeocean/app/views/programming_groups/new.html.slim
kiragrammel 319c3ab3b4 Add ProgrammingGroup & ProgrammingGroupMembership
* User can create programming group with other users for exercise
* Submission is shared in a group
* Also adjust specs
2023-08-24 19:32:06 +02:00

15 lines
481 B
Plaintext

h1 = t('shared.new_model', model: ProgrammingGroup.model_name.human)
p
=> t('programming_groups.new.own_user_id')
b
= current_user.id_with_type
p
= t('programming_groups.new.enter_partner_id', exercise_title: @exercise.title)
= render('form')
div.mt-4
a.btn.btn-success href=new_exercise_programming_group_path(@exercise) == t('programming_groups.new.check_invitation')
p.mt-4
== t('programming_groups.new.work_alone', path: implement_exercise_path(@exercise))