File: D:/HostingSpaces/SBogers10/vebon.komma.pro/storage/framework/views/334e250d7794727d59e9bd549847d390
<?php /* Header */ ?>
<div class="entity-header">
<div class="entity-thumbnail">
<?php echo $section->getThumbnail(); ?>
</div>
<div class="entity-title"><?php echo $title; ?></div>
<div class="entity-buttons">
<?php if($section->showSave()): ?>
<?php if(\Session::has('success')): ?>
<?php echo Form::submit($section->submitButtonLabel, ['class' => 'btn btn-save btn-success-glow', 'id' => 'save-button']); ?>
<?php elseif(\Session::has('errors')): ?>
<?php echo Form::submit($section->submitButtonLabel, ['class' => 'btn btn-save', 'id' => 'save-button']); ?>
<?php else: ?>
<?php echo Form::submit($section->submitButtonLabel, ['class' => 'btn btn-save btn-brand-glow', 'id' => 'save-button']); ?>
<?php endif; ?>
<?php endif; ?>
<?php if($section->showDelete() and $section->getModelId()): ?>
<?php if(isset($section->siteId)): ?>
<?php echo Form::open(['method' => 'DELETE' , 'route' => ['kms.{site}.'.$slug.'.destroy', 'site' => $siteSlug, $slug => $id], 'class' => 'inline' ]); ?>
<?php else: ?>
<?php echo Form::open(['method' => 'DELETE' , 'route' => ['kms.'.$slug.'.destroy', $slug => $id], 'class' => 'inline' ]); ?>
<?php endif; ?>
<?php echo Form::submit('', ['class' => 'btn btn-danger btn-trash', 'kms-confirm' => 'Delete item', 'kms-confirm-message' => 'Are you sure you want to delete this item?']); ?>
<?php echo Form::close(); ?>
<?php endif; ?>
</div>
</div>
<?php /* Tabs */ ?>
<div class="entity-tabs">
<ul class="nav nav-tabs">
<?php foreach($section->getTabs() as $tabIndex => $tab): ?>
<li class="<?php echo ($tabIndex == 0) ? 'active': ''; ?><?php echo $tab->hasErrors($errors->getMessageBag()) ? ' error' : ''; ?>">
<a href="#<?php echo $tab->getSlug(); ?>"><?php echo $tab->getName(); ?></a>
</li>
<?php endforeach; ?>
</ul>
</div>
<?php if($section->submitRoute): ?>
<?php echo Form::open(['method' => 'post', 'route' => $section->submitRoute, 'id' => 'entity-form', 'files' => true, 'autocomplete' => 'off']); ?>
<?php else: ?>
<?php if(isset($section->siteId)): ?>
<?php if($id): ?>
<?php echo Form::open(['method' => 'put', 'route' => ['kms.{site}.'.$slug.'.update', 'site' => $siteSlug, $slug => $id], 'id' => 'entity-form', 'files' => true, 'autocomplete' => 'off']); ?>
<?php else: ?>
<?php echo Form::open(['method' => 'post', 'route' => ['kms.{site}.'.$slug.'.store', 'site' => $siteSlug], 'id' => 'entity-form', 'files' => true, 'autocomplete' => 'off']); ?>
<?php endif; ?>
<?php else: ?>
<?php if($id): ?>
<?php echo Form::open(['method' => 'put', 'route' => ['kms.'.$slug.'.update', $slug => $id], 'id' => 'entity-form', 'files' => true, 'autocomplete' => 'off']); ?>
<?php else: ?>
<?php echo Form::open(['method' => 'post', 'route' => ['kms.'.$slug.'.store'], 'id' => 'entity-form', 'files' => true, 'autocomplete' => 'off']); ?>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php echo Form::submit('submit-cloaked', ['ng-hide' => '', 'ng-cloak' => '']); ?>
<?php echo Form::hidden('tab-slug', isset($tabSlug) ? $tabSlug : '', ['id' => 'tab-slug']); ?>
<?php if(isset($section->currentCategory)): ?>
<?php echo Form::hidden('current_product_category', $section->currentCategory); ?>
<?php endif; ?>
<div class="entity-attributes" ng-controller="KmsAttributes">
<?php foreach($section->getTabs() as $tab): ?>
<div id="tab-content-<?php echo $tab->getSlug(); ?>" class="tab-content">
<?php /* Tab Attributes */ ?>
<?php foreach($tab->getItems() as $attribute): ?>
<?php echo $attribute->render(); ?>
<?php endforeach; ?>
<?php if($tab->hasTabs()): ?>
<?php echo $__env->make('kms/partials/entity.tabs', ['tab'=> $tab,'firstTabSlug'=>''], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php endif; ?>
<?php if(\Session::get('error_data')): ?>
<?php echo $__env->make('kms.partials.importErrors', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php endif; ?>
</div>
<?php endforeach; ?>
</div>
<?php echo Form::close(); ?>