<%inherit file="/layout/wizard.html"/>
<%namespace file="/lib.html" import="wizard_save_search_form, wizard_cancel_delete"/>
<div class="content">
    <%include file="_steps.html" args="step=1"/>
    <form method="post" action="${make_url(['dashboardwizard', app, 'step1', 'update'])|h}">
        ${wizard_save_search_form(app, saved_search, display_share=False)}
        <input type="submit" class="visuallyhidden" />
    </form>
</div>
<ul class="buttons splClearfix">
    <li class="left">${wizard_cancel_delete(make_url(['dashboardwizard', app, 'delete']), saved_search.id)}</li>
    <li class="right"><button class="splButton-primary" type="submit" onclick="$(document.forms[0]).trigger('submit');"><span>${_('Next &raquo;')}</span></button></li>
</ul>
