<!DOCTYPE html>  
<html lang="en">  
<head>  
    <meta charset="UTF-8">  
    <title>Index</title>  
</head>  
<body>  
<form method="POST" class="post-form">  
    {% csrf_token %}  
    {{ form.as_p }}  
    <button type="submit" name="Action" value="Update">Update</button>  
    <button type="submit" name="Action" value="Cancel">Cancel</button>  
</form>  
</body>  
</html> 