
<%@ taglib uri="webwork" prefix="webwork" %>
<%@ taglib uri="webwork" prefix="ui" %>
<%@ taglib uri="sitemesh-page" prefix="page" %>

<html>
<head>
	<title><webwork:text name="'saveasfilter.title'"/></title>
</head>

<body>

<table cellpadding=0 cellspacing=0 border=0 width=100%>
<tr>
<td class="filterSummaryCell">
    <jsp:include page="/includes/navigator/summary-pane.jsp" />
</td>
<td bgcolor=ffffff valign=top>

<table width=100% cellpadding=10 cellspacing=0 border=0><tr><td>

    <page:applyDecorator name="jiraform">
        <page:param name="action">SaveAsFilter.jspa</page:param>
        <page:param name="cancelURI">IssueNavigator.jspa</page:param>
        <page:param name="submitName"><webwork:text name="'saveasfilter.submit'"/></page:param>
        <page:param name="width">100%</page:param>
        <page:param name="title"><webwork:text name="'saveasfilter.title'"/></page:param>
        <page:param name="description">
        <webwork:text name="'saveasfilter.desc.line1'"/>
        <p>
        <webwork:text name="'saveasfilter.desc.line2'"/>
        </page:param>

        <ui:textfield label="text('common.words.name')" name="'filterName'" size="30" />
        <ui:textarea label="text('common.concepts.description')" name="'description'" cols="40" rows="3" />

        <webwork:if test="./searchRequest/useColumns() == false">
            <ui:select label="text('saveasfilter.columnOrder')" name="'saveColumnLayout'" template="radiomap.jsp"
                list="/columnLayoutTypes" listKey="'key'" listValue="'value'">
                <ui:param name="'checkRadio'" value="'2'" />
                <ui:param name="'description'"><webwork:text name="'saveasfilter.columnOrder.desc'"/></ui:param>
            </ui:select>
        </webwork:if>

    </page:applyDecorator>

</td></tr></table>
</td></tr></table>

</body>
</html>