Skip to content
Snippets Groups Projects
Commit 2b7f1857 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

fixed form builder buttons from BIESt 1820, closes #1822

Closes #1822

Merge request studip/studip!1198
parent a2a13a36
No related branches found
No related tags found
No related merge requests found
......@@ -529,15 +529,6 @@ form.narrow {
}
}
// this is necessary to give a form made via formbuilder the correct design
.formbuilderfooter {
background-color: #e7ebf1;
border-top: 1px solid #1f3f70;
clear: both;
margin-left: 0;
padding: 5px 10px;
}
// give forms some optimized styling for very narrow screen sizes
@include media-breakpoint-tiny-down(){
form.default {
......
......@@ -60,8 +60,14 @@ $form_id = md5(uniqid());
<?= $part->renderWithCondition() ?>
<? endforeach ?>
</div>
<? if (!Request::isDialog()) : ?>
<footer>
<?= \Studip\Button::create(_('Speichern'), null, ['form' => $form_id]) ?>
</footer>
<? endif ?>
</form>
<footer data-dialog-button class="formbuilderfooter">
<?= \Studip\Button::create(_('Speichern'), null, ['form' => $form_id]) ?>
</footer>
<? if (Request::isDialog()) : ?>
<footer data-dialog-button>
<?= \Studip\Button::create(_('Speichern'), null, ['form' => $form_id]) ?>
</footer>
<? endif ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment