<div class="table-toolbar">
	<div class="row">
		<form class="form-horizontal form-bordered">
			<div class="form-group">
	            <label class="col-md-2 control-label" style="margin-left: 15%;">租借公設</label>
	            <div class="col-md-6">
					<input type="text" readonly id="inst_name" class="form-control" value="<?php echo e($inst_name); ?>">
				</div>
	        </div>
			<div class="form-group">
	            <label class="col-md-2 control-label" style="margin-left: 15%;">租借人</label>
	            <div class="col-md-6">
					<input type="text" readonly id="user_name" class="form-control" value="<?php echo e($user_name); ?>">
				</div>
	        </div>
	        <div class="form-group">
	            <label class="col-md-2 control-label" style="margin-left: 15%;">承辦人</label>
	            <div class="col-md-6">
					<input type="text" readonly id="afterby" class="form-control" value="<?php echo e($after_user); ?>">
				</div>
	        </div>
			<div class="form-group">
	            <label class="col-md-2 control-label" style="margin-left: 15%;">歸還物品</label>
	            <div class="col-md-6">
	            <?php if(count($inst_equipments) > 0): ?>
                <?php foreach($inst_equipments as $one): ?>
                    <input type="text" readonly class="form-control" value="<?php echo e($one->equipment_name); ?>">
                <?php endforeach; ?>
                <?php else: ?>
                	<input type="text" readonly class="form-control red" style="color:red;" value="沒有租借物品紀錄">
                <?php endif; ?>
	            </div>
	        </div>
	        <input type="hidden" id="after_id" value="<?php echo e($after_id); ?>">
			<input type="hidden" id="user_id" value="<?php echo e($user_id); ?>">
	        <input type="hidden" id="inst_order_id" value="<?php echo e($inst_order_id); ?>">
        </form>
	</div>
</div>
