<div class="entry" data-type="quizresult" data-co="<?php echo e(time()); ?>" <?php if(isset($entry->id)): ?> data-entry-id="<?php echo e($entry->id); ?>" <?php endif; ?>>
    <div class="entryactions">
        <button class="button button-red get-button delete-entry"  data-block="entry"><i class="fa fa-trash"></i></button>
    </div>
    <h3><i class="fa fa-question-circle"></i> <?php echo e(trans('buzzyquiz.result')); ?></h3>
    <div class="inpunting ordering">
        <button class="order-number button button-gray show">1</button>
        <?php echo Form::text(null, isset($entry->title) ? $entry->title : null ?: null, ['data-type' => 'title', 'class' => 'cd-input ', 'placeholder' => trans('buzzyquiz.result')]); ?>

    </div>
    <div class="moredetail text" style="width:60%;float:left;vertical-align: top">
        <div class="inpunting" style="margin-right: 15px">
            <?php echo Form::textarea(null, isset($entry->body) ? $entry->body : null, ['data-type' => 'body', 'class' => 'message','id' => 'edit', 'placeholder' => trans('addpost.entry_body')]); ?>

        </div>
    </div>
    <div class="moredetail text" style="float:left;width:40%;">
        <div class="inpunting mediaupload" <?php if(isset($entry->image)): ?> style="display: none;" <?php endif; ?>>
            <div class="item-media-placeholder" style="padding-top: 40px;padding-bottom: 45px">
                <i class="fa fa-picture-o  fa-2x"></i><br>
                <small class="text-muted"  style="font-size:16px;"><?php echo e(trans('addpost.entry_addimage')); ?></small>
                <form action="">
                    <input type="file" accept="image/*" class="uploadaimage" data-target="entry">
                </form>
                <div style="font-size:12px;color:#ccc"> <?php echo e(trans('updates.or')); ?> </div>
                <div class="image-upload-actions">
                    <a class="button button-white getimageurl" data-action="add" data-target="entry"><?php echo e(trans('updates.getfromurl')); ?> <i class="fa fa-download"></i></a>
                </div>
            </div>
        </div>

        <?php echo Form::hidden(null, isset($entry->image) ? makepreview($entry->image, null, 'entries') : null, ['data-type' => 'image', 'class' => 'cd-input-image ']); ?>

        <div class="inpunting imagearea <?php if(empty($entry->image)): ?> hide <?php endif; ?>">
            <div class="imagearea_img">
                <?php if(isset($entry->image)): ?> <img src="<?php echo e(makepreview($entry->image, null, 'entries')); ?>"> <?php endif; ?>
            </div>
            <div class="thumbactions">
                <a class="button button-red deleteimage" data-action="remove" data-target="image"><i class="fa fa-trash"></i></a>  <a class="button button-white makepreview"><i class="fa fa-image"></i>&nbsp;<?php echo e(trans('addpost.makepreview')); ?></a>
            </div>
        </div>
    </div>

<div class="clearfix"></div>
</div>
