File: D:/HostingSpaces/SBogers10/topswtw.komma.pro/app/storage/views/0b5542feb0bc396410ca1ce99d2aa254
<div class="entity-attribute c-uploaded-file entity-attribute-file<?php echo e(count($attribute->errors) == 0 ? '' : ' error'); ?> <?php echo e($attribute->class); ?>" data-uk-tooltip="{pos:'bottom-right'}" title="<?php echo e(isset($attribute->errors[0]) ? $attribute->errors[0] : ''); ?>" ng-controller="KmsAttributeTextFieldController"> <label class="c-uploaded-file__label" for="<?php echo $attribute->key; ?>"><?php echo $attribute->label; ?></label> <?php if($attribute->value && isset($attribute->value->path)): ?> <div class="c-uploaded-file__download"> <span class="c-uploaded-file__url-label">URL:</span> <a class="c-uploaded-file__download-link" href="<?php echo asset($attribute->value->url); ?>" target="_blank"><?php echo asset($attribute->value->url); ?></a><br /> <button class="c-uploaded-file__delete" name="delete_download" value="<?php echo $attribute->value->id; ?>"><span class="c-uploaded-file__delete-icon">×</span> Verwijderen</button> </div> <?php else: ?> <div class="c-uploaded-file__upload-button"> <div class="c-uploaded-file__input"> <?php echo Form::file($attribute->key, [ 'placeholder' => $attribute->placeholder, 'accept' => $attribute->accept ]); ?> </div> <div class="c-uploaded-file__button-overlay"> Upload document </div> </div> <?php endif; ?> </div>