<div class="context-main-bg context-main p-3">
    <legend class="text-center">Stripe Webhook Generation</legend>
    <hr>
    {ADMIN_BREADCRUMBS}
    <table class="table table-striped">
        <thead>
            <tr>
                <th style="width: 10%">id</th>
                <th style="width: 10%">status</th>
                <th style="width: 50%">enabled_events</th>
                <th style="width: 10%">url</th>
                <th style="width: 10%"></th>
            </tr>
        </thead>
        <tbody>
            {LOOP}
            <tr>
                <td>{id}</td>
                <td>{status}</td>
                <td>{enabled_events}</td>
                <td>{url}</td>
                <td><a href="{ROOT_URL}admin/members/webhooks/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a></td>
            </tr>
            {/LOOP}
            {ALT}
            <tr>
                <td class="text-center" colspan="5">
                    No results to show.
                </td>
            </tr>
            {/ALT}
        </tbody>
    </table>
    <div class="text-center">
        <h5>WARNING: Regenerating existing webhooks makes joey sad, don't do iit!</h5>
        <p>The new webhooks will be generated using the base url: <strong>{urltouse}</strong></p>
        <form action="" method="post" class="form-horizontal">
            <div class="form-group">
                <button name="submit" value="submit" type="submit" class="btn btn-lg btn-danger">re-generate</button>
            </div>
        </form>
    </div>
</div>