@extends('index') @section("body") <h1>Delete Computer</h1> <form method ="POST" action="manageasset-action" onsubmit="return confirm('Are you sure you want to delete this asset?');"> Brand: <input type="text" name="brand" value='{{$data->brand}}' disabled><br> Model: <input type="text" name="model" value='{{$data->model}}' disabled><br> Asset Tag: <input type="text" name="assetTag" value='{{$data->assetTag}}' disabled><br> Serial No: <input type="text" name="Serial_No" value='{{$data->Serial_No}}' disabled><br> Remarks: <input type="text" name="Remarks" value='{{$data->Remarks}}' disabled><br> Status: <input type="text" name="status" value='{{$data->status}}' disabled><br> <input type='hidden' name='id' value="{{$data->id}}"> <input type='submit' name= "btnDeleteComp" value='Delete' class="button small"> <button type="button" onclick="history.back()" class="button small">Back</button> @csrf </form> @endsection