<%--
 * Copyright by Intland Software
 *
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Intland Software. ("Confidential Information"). You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Intland.
 *
 * $Revision$ $Date$
--%>

<%@ taglib uri="jstl-c" prefix="c" %>

<%@ taglib uri="taglib" prefix="tag" %>
<%@ taglib uri="uitaglib" prefix="ui" %>

<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>

<form:select path="role" id="roleSelector" title="Limit visibility of this comment">
	<spring:bind path="roles">
		<form:option value="" label="Everybody" title="Everybody who normally can see the issue, will see this comment too" />
		<optgroup label="Role">
			<form:options items="${status.value}" itemLabel="description" itemValue="id" title="Only members of this role can see the comment"/>
		</optgroup>
	</spring:bind>
</form:select>
<form:errors path="role" cssClass="invalidfield" />
