<?xml version="1.0" encoding="utf-8"?>
<form>
	<fields name="assignments">
		<!-- Article -->
		<fieldset name="article">
			<fields name="article">
				<field name="assignment_state" type="assignmentselection" 
					label="NR_ARTICLE"
					description="PLG_GSD_CONTENT_ASSIGN_ARTICLE_DESC"
				/>
				<field name="selection" type="componentitems" 
					label="NR_SELECTION" 
					description="PLG_GSD_CONTENT_SELECT_ARTICLES"
					multiple="true"
					where="i.state >= 0"
				/>
        	</fields>
    	</fieldset>
		<!-- Category -->
		<fieldset name="category">
			<fields name="category">
	            <field name="assignment_state" type="assignmentselection"
	                label="NR_CATEGORIES"
	                description="PLG_GSD_CONTENT_ASSIGN_CATEGORY_DESC"
	            />
	            <field name="selection" type="nr_content" 
	                label="NR_SELECTION" 
	                description="NR_CATEGORIES_DESC"
	                group="categories" 
	                multiple="true" 
	            />
	            <fields name="params">
		            <field name="inc_children" type="list"
		                label="NR_ALSO_ON_CHILD_ITEMS"
		                description="NR_ALSO_ON_CHILD_ITEMS_DESC"
		             	class="input-medium"
		                default="0">
		                <option value="0">JNO</option>
		                <option value="1">JYES</option>
		                <option value="2">NR_ONLY</option>
		            </field>
	        	</fields>
        	</fields>
    	</fieldset>
	</fields>
</form>