HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers26/gripp.nu/app/storage/views/95f518c7f06f46c873002f705d392178
<?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 == 'admin' && \Auth::user()->get()->is_admin) || $section->showSave == 'all'): ?> <?php if($section->redirectedFromSaveWithSuccess()): ?> <?php echo Form::submit($section->submitButtonLabel, ['class' => 'btn btn-save btn-success-glow', 'id' => 'save-button']); ?> <?php elseif($section->redirectedFromSaveWithFailure()): ?> <?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; ?> &nbsp; <?php endif; ?> <?php if((($section->showDelete == 'admin' && \Auth::user()->get()->is_admin) || $section->showDelete == 'all') and !$section->isCreatingEntity()): ?> <?php if(isset($section->shopId)): ?> <?php echo Form::open(['method' => 'DELETE' , 'route' => ['kms.{shop}.'.$slug.'.destroy', 'shop' => $shopSlug, $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->shopId)): ?> <?php if($id): ?> <?php echo Form::open(['method' => 'put', 'route' => ['kms.{shop}.'.$slug.'.update', 'shop' => $shopSlug, $slug => $id], 'id' => 'entity-form', 'files' => true, 'autocomplete' => 'off']); ?> <?php else: ?> <?php echo Form::open(['method' => 'post', 'route' => ['kms.{shop}.'.$slug.'.store', 'shop' => $shopSlug], '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::hidden('tab-slug', isset($tabSlug) ? $tabSlug : '', ['id' => 'tab-slug']); ?> <?php /* Attributes */ ?> <div class="entity-attributes" ng-controller="KmsAttributes"> <?php /* Errors <?php if($errors->has()): ?> <div class="entity-messages"> <div class="messages"> <ul> <?php foreach($errors->all() as $error): ?> <li><?php echo $error; ?></li> <?php endforeach; ?> </ul> </div> </div> <?php endif; ?> */ ?> <?php foreach($section->getTabs() as $tab): ?> <div id="tab-content-<?php echo e($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 /* SubTabs */ ?> <div class="sub-tabs"> <ul class="nav nav-tabs"> <?php foreach($tab->getTabs() as $tabIndex => $subTab): ?> <li class="<?php echo ($tabIndex == 0) ? 'active': ''; ?><?php echo $subTab->hasErrors($errors->getMessageBag()) ? ' error' : ''; ?>"> <a href="#<?php echo $tab->getSlug(); ?>/<?php echo $subTab->getSlug(); ?>" ><?php echo $subTab->getName(); ?></a> </li> <?php endforeach; ?> </ul> </div> <?php /* SubTabsContent */ ?> <div class="sub-tabs-content"> <?php foreach($tab->getTabs() as $subTab): ?> <div id="sub-tab-content-<?php echo e($subTab->getSlug()); ?>" class="sub-tab-content"> <?php foreach($subTab->getItems() as $subTabAttribute): ?> <?php echo $subTabAttribute->render(); ?> <?php endforeach; ?> </div> <?php endforeach; ?> </div> <?php endif; ?> </div> <?php endforeach; ?> </div> <?php echo Form::close(); ?>