<section class="flex flex-col gap-4">
    {% include 'lib/alert.twig' %}
    <form action="/admin/transactions/add" method="post" class="flex flex-col gap-4">
        {% include 'lib/inputs/number.twig' with { 
            id: 'amount', 
            name: 'amount', 
            label: 'Amount', 
            placeholder: 'Enter the amount', 
            required: true 
        } %}
        {% include 'lib/inputs/select.twig' with { 
            id: 'currency', 
            name: 'currency', 
            label: 'Currency',
            options: [
                { 'value': 'sats', 'label': 'Sats' },
                { 'value': 'cents', 'label': 'Cents' }
            ],
            required: true
        } %}
        {% include 'lib/inputs/text.twig' with { 
            type: 'text', 
            name: 'user_identifier', 
            label: 'User Identifier', 
            placeholder: 'Enter email or user index',
        } %}
        {% include 'lib/buttons/submit.twig' with { 
            label: 'Submit', 
        } %}
    </form>

</section>
