    <label for="InputType">Input Type</label>
    <input type="text" id="InputType" name="InputType" 
        value="<?= old("InputType", esc($inputtype->InputType)) ?>" spellcheck="true">

    <label for="DisplayOrder">Display Order</label>
    <input type="number" id="DisplayOrder" name="DisplayOrder" 
        value="<?= old("InputType", $inputtype->DisplayOrder) ?>" >

    <label for="IsCoffee">Is the Input type Coffee?</label><br>

    <input type="radio" id="IsCoffeeYes" name="IsCoffee" 
        value="1">
    <label for="IsCoffeeYes">Yes</label><br>

    <input type="radio" id="IsCoffeeNo" name="IsCoffee" 
        value="0">
    <label for="IsCoffeeNo">No</label><br>


    <!-- <input type="radio" id="IsCoffeeYes" name="IsCoffee" 
        value="<?=old('InputType', $inputtype->IsCoffee) == '0'? '' :'1' ?>"
        <?= old('InputType', $inputtype->IsCoffee == 1 ? 'checked' : '') ?> ;>
    <label for="IsCoffeeYes">Yes</label><br>

    <input type="radio" id="IsCoffeeNo" name="IsCoffee" 
        value="<?=old('InputType', $inputtype->IsCoffee) == '0'? '0' :''  ?>"
        <?= old('InputType', $inputtype->IsCoffee == 0 ? 'checked' : '') ?> ;>
    <label for="IsCoffeeNo">No</label><br> -->


    <button class="button" type="submit">Save</button>
    <a class="button" href="<?= site_url('/inputtypes') ?>" default>Cancel</a>
    
