<?php

namespace Anax\View;

if (!$product) {
    return;
}

?>
<form method="post">
    <fieldset>
        <legend>Ta bort produkt</legend>
        <input type="hidden" name="id" value="<?= $product->id ?>"/>
        <p>
            <label>Titel:<br> 
                <input type="text" value="<?= $product->title ?>" disabled/>
            </label>
        </p>
        <p>
            <input type="submit" name="delete" value="Ta bort">
        </p>
    </fieldset>
</form>
