aboutsummaryrefslogtreecommitdiff
path: root/app/views/course/wizard/step.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/course/wizard/step.php')
-rw-r--r--app/views/course/wizard/step.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/course/wizard/step.php b/app/views/course/wizard/step.php
index 0fe1dfc..c32a09b 100644
--- a/app/views/course/wizard/step.php
+++ b/app/views/course/wizard/step.php
@@ -23,11 +23,15 @@
!empty($dialog) ? ['data-dialog' => 'size=50%'] : []
) ?>
<? endif; ?>
+ <? if (!$studygroup) : ?>
<?= Studip\Button::create(
_('Weiter'),
'next',
!empty($dialog) ? ['data-dialog' => 'size=50%'] : []
) ?>
+ <? else : ?>
+ <?= Studip\Button::createAccept(_('Studiengruppe anlegen'), 'create') ?>
+ <? endif; ?>
</footer>
</form>
<? else : ?>