37 lines
		
	
	
		
			978 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			978 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html>
 | 
						|
<html lang="en">
 | 
						|
<head>
 | 
						|
    <meta charset="UTF-8">
 | 
						|
    <title>Delete Item</title>
 | 
						|
    {% include 'favicon.html' %}
 | 
						|
</head>
 | 
						|
<body align="center">
 | 
						|
    {% include 'header.html' %}
 | 
						|
    <h2>Are you sure you want to delete the item?</h2>
 | 
						|
    
 | 
						|
    <!-- Confirmation form -->
 | 
						|
    <form action='' method="post">
 | 
						|
        <br>
 | 
						|
        <input type="submit" value="Delete">
 | 
						|
        <button type="button" onclick="window.location.href='/'">Cancel</button>
 | 
						|
    </form>
 | 
						|
 | 
						|
    <!-- Display a preview of the item -->
 | 
						|
    <table border="1" align="center">
 | 
						|
        <thead>
 | 
						|
            <tr>
 | 
						|
                <th>Attribute</th>
 | 
						|
                <th>Value</th>
 | 
						|
            </tr>
 | 
						|
        </thead>
 | 
						|
        <tbody>
 | 
						|
            {% for attrib in item_attributes %}
 | 
						|
                <tr>
 | 
						|
                    <td>{{ attrib.display_name }}</td>
 | 
						|
                    <td>{{ item[attrib.attrib_name] }}</td>
 | 
						|
                </tr>
 | 
						|
            {% endfor %}
 | 
						|
        </tbody>
 | 
						|
    </table>
 | 
						|
</body>
 | 
						|
</html> |