<?xml version="1.0"?>
<form>
                    <sheet>
                    <h3 class="fw-bold">
                        Name your key
                    </h3>
                    <p>Enter a description of and purpose for the key.</p>
                    <field name="name" placeholder="What's this key for?"/>
                    <p>
                        It is very important that this description be clear
                        and complete, <strong>it will be the only way to
                        identify the key once created</strong>.
                    </p>
                    <h3 class="fw-bold">
                        Give a duration for the key's validity
                    </h3>
                    <field name="duration"/>
                    <field name="expiration_date" invisible="duration != '-1'"/>
                    <p>
                        The key will be deleted once this period has elapsed.
                    </p>
                    <footer>
                        <button name="make_key" type="object" string="Generate key" class="btn-primary" data-hotkey="q"/>
                        <button special="cancel" data-hotkey="x" string="Cancel" class="btn-secondary"/>
                    </footer>
                    </sheet>
                </form>
            