<?php

$id = uniqid();

?>

<div class="file_box_wr">
    <span class="glyphicon glyphicon-file"></span>
    <span><?=$name?></span>  &nbsp;
    <span class="color_gray">&nbsp;<?=$size?>&nbsp;&nbsp;</span>
    <a class="delete-file" href="#"><span class="glyphicon glyphicon-remove color_gray"></span></a>
    <input type="hidden" name="Issue[files][<?=$id?>][token]" value="<?=$token?>">
    <input type="hidden" name="Issue[files][<?=$id?>][filename]" value="<?=$name?>">
    <input type="hidden" name="Issue[files][<?=$id?>][type]" value="<?=$type?>">
</div>