

<?php $__env->startSection('content'); ?>

<div class="card">
    <div class="card-header bg-primary text-white">
	
        <h5  class="my-1 float-left"><?php echo e(isset($tambon->name) ? $tambon->name : 'ตำบล'); ?></h5>
        <div class="float-right">
            <form method="POST" action="<?php echo route('tambons.tambon.destroy', $tambon->id); ?>" accept-charset="UTF-8">
            <input name="_method" value="DELETE" type="hidden">
            <?php echo e(csrf_field()); ?>

                <div class="btn-group btn-group-sm" role="group">
                    <a href="<?php echo e(route('tambons.tambon.index')); ?>" class="btn btn-primary" title="แสดง ตำบล ทั้งหมด">
                        <i class="fas fa-fw fa-th-list" aria-hidden="true"></i>
                    </a>
                    <a href="<?php echo e(route('tambons.tambon.create')); ?>" class="btn btn-success" title="เพิ่ม ตำบล ใหม่">
                        <i class="fas fa-fw fa-plus" aria-hidden="true"></i>
                    </a>                    
                    <a href="<?php echo e(route('tambons.tambon.edit', $tambon->id )); ?>" class="btn btn-primary" title="แก้ไขข้อมูล ตำบล">
                        <i class="fas fa-fw fa-pencil-alt" aria-hidden="true"></i>
                    </a>
                    <button type="submit" class="btn btn-danger" title="ลบ ตำบล ทิ้ง" onclick="return confirm('คลิก OK เพื่อยืนยันการลบ ตำบล ')">
                        <i class="fas fa-fw fa-trash-alt" aria-hidden="true"></i>
                    </button>
                </div>
            </form>
        </div>
    </div>

    <div class="card-body">
         
            <div class="row">
				<div class="col-sm-4 right">รหัสอำเภอ</div>
				<div class="col-sm-8">: <?php echo e(optional($tambon->amphur)->name_th); ?></div>
			</div>
            <div class="row">
				<div class="col-sm-4 right">ชื่อตำบล(ไทย)</div>
				<div class="col-sm-8">: <?php echo e($tambon->name); ?></div>
			</div>
            <div class="row">
				<div class="col-sm-4 right">เขตเลือกตั้ง</div>
				<div class="col-sm-8">: <?php echo e(optional($tambon->electorate)->name); ?></div>
			</div>

        

    </div>
</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xampp7.4R1\htdocs\disk8\election\source\resources\views/tambons/show.blade.php ENDPATH**/ ?>