<%@ taglib uri="webwork" prefix="webwork" %>
<%@ taglib uri="webwork" prefix="ui" %>
<%@ taglib uri="sitemesh-page" prefix="page" %>
<html>
<head>
	<title><webwork:text name="'admin.userdefaults.edit.user.defaults'"/></title>
</head>
<body>
<style type="text/css">
<!--
.fieldLabelArea
{
    width: 50%;
}
-->
</style>
<page:applyDecorator name="jiraform">
	<page:param name="action">EditUserDefaultSettings.jspa</page:param>
	<page:param name="submitName"><webwork:text name="'common.forms.update'"/></page:param>
	<page:param name="cancelURI">ViewUserDefaultSettings.jspa</page:param>
	<page:param name="title"><webwork:text name="'admin.userdefaults.user.default.settings'"/></page:param>
	<page:param name="width">100%</page:param>

    <ui:select label="text('admin.userdefaults.outgoing.email.format')" name="'preference'" list="emailFormats" listKey="'id'" listValue="'name'" value="selectedEmailFormat"/>
    <ui:textfield label="text('admin.userdefaults.number.of.issues')" name="'numIssues'" size="'5'" value="applicationProperties/defaultBackedString('user.issues.per.page')"/>
    <ui:radio label="text('admin.userdefaults.notify.users.of.own.changes')" name="'emailUser'" list="booleanList" listKey="'id'" listValue="'name'" value="notifyUser"/>

</page:applyDecorator>
</body>
</html>