mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Cleaning up spacing
This commit is contained in:
parent
7b8fecaa51
commit
fafd05f7c0
@ -14,8 +14,8 @@
|
||||
<div class="<?= $navCss ?>">
|
||||
<ul class="nav nav-tabs">
|
||||
<?php $index = 0; foreach ($tabs as $name => $fields): ?>
|
||||
<li class="<?= $index++==0?'active':''?>">
|
||||
<a href="#<?= $type.'tab-'.$index ?>"><?php if ($tabs->getIcon($name)): ?><span class="<?= $tabs->getIcon($name) ?>"></span><?php endif; ?><?= e(trans($name)) ?></a>
|
||||
<li class="<?= $index++ == 0 ? 'active' : '' ?>">
|
||||
<a href="#<?= $type . 'tab-' . $index ?>"><?php if ($tabs->getIcon($name)): ?><span class="<?= $tabs->getIcon($name) ?>"></span><?php endif; ?><?= e(trans($name)) ?></a>
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
@ -24,8 +24,8 @@
|
||||
<div class="tab-content <?= $contentCss ?>">
|
||||
<?php $index = 0; foreach ($tabs as $name => $fields): ?>
|
||||
<div
|
||||
class="tab-pane <?= e($tabs->getPaneCssClass($index, $name)) ?> <?= $index++==0?'active':''?> <?= $paneCss ?>"
|
||||
id="<?= $type.'tab-'.$index ?>">
|
||||
class="tab-pane <?= e($tabs->getPaneCssClass($index, $name)) ?> <?= $index++ == 0 ? 'active' : '' ?> <?= $paneCss ?>"
|
||||
id="<?= $type . 'tab-' . $index ?>">
|
||||
<?= $this->makePartial('form_fields', ['fields' => $fields]) ?>
|
||||
</div>
|
||||
<?php endforeach ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user