FEATURE #1507: modularize content management
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<ul class="tabs" data-tabs id="static-page-controls">
|
||||
@foreach($formSectionNames as $section => $sectionName)
|
||||
<li class="tabs-title @if($sectionName == reset($formSectionNames)) is-active @endif">
|
||||
<a href="#{{$section}}" @if($sectionName == reset($formSectionNames)) aria-selected="true" @endif>
|
||||
{{trans($sectionName)}}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
<div class="tabs-content" data-tabs-content="static-page-controls">
|
||||
@foreach($formSections as $section => $view)
|
||||
<div class="tabs-panel @if($view == reset($formSections)) is-active @endif" id="{{$section}}">
|
||||
@include($view)
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
Reference in New Issue
Block a user