Files
codeocean/app/views/programming_groups/new.html.slim
2023-09-05 22:56:51 +02:00

23 lines
933 B
Plaintext

h1 = t('shared.new_model', model: ProgrammingGroup.model_name.human)
.row
.col-md-6
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))
.col-md-6
h5 = t('programming_groups.new.find_partner_title')
p
= t('programming_groups.new.find_partner_description')
iframe name="embed_readwrite" src="https://etherpad.xopic.de/p/find_programming_group_for_exercise_#{@exercise.id}?showControls=true&showChat=true&showLineNumbers=true&useMonospaceFont=false" width="100%" height="300" style='border: 1px solid black;'