<%inherit file="/layout/wizard.html"/>
<%namespace file="/lib.html" import="csrf_hidden_input, wizard_cancel_delete, wizard_errors"/>

<div class="content alertStep2">
    <%include file="_steps.html" args="step=1"/>
    <form method="post" action="${make_url(['alertswizardv2', app, 'step1', 'update']) | h}">
        <%include file="_step1.html"/>
        <input type="submit" class="visuallyhidden" />
    </form>
</div>

<ul class="buttons splClearfix">
    <li class="left">${wizard_cancel_delete(make_url(['alertswizardv2', app, 'delete']), saved_search.id)}</li>
    <li class="right"><button class="splButton-primary" type="submit" onclick="$(document.forms[0]).trigger('submit');"><span>${_('Next &#187;')}</span></button></li>
</ul>
