anchor.diff:  		<%}
   		%>
   		</liferay-ui:panel>
  -	
  +	</div>
   		<c:if test="${showcategorization}">
  -			<liferay-ui:panel title="categorization" collapsible="true" defaultState="closed">
  -				<aui:input name="tags" type="assetTags" />
  -				<aui:input name="categories" type="assetCategories" />
  -				</liferay-ui:panel>
  +			<c:choose>
  +				<c:when test="<%=isCourse %>">
  +					<liferay-ui:panel title="categorization" collapsible="true" defaultState="closed">
  +						<aui:input name="tags" type="assetTags" />
  +						<aui:input name="categories" type="assetCategories" />
  +					</liferay-ui:panel>
  +				</c:when>
  +				<c:otherwise>
  +					<liferay-ui:panel title="categorization" collapsible="true" defaultState="open">
  +						<aui:input name="tags" type="assetTags" />
  +						<aui:input name="categories" type="assetCategories" />
  +					</liferay-ui:panel>
  +				</c:otherwise>
  +			</c:choose>
   		</c:if>
   	</liferay-ui:panel-container>
   	</aui:fieldset>
  
positive.code: 			 defaultState="closed";
  		 }
  	 	%>
  	 		<liferay-ui:panel title="activity-specifics" collapsible="true" defaultState="<%=defaultState %>">
  	  
  		<%
  		if(larntype.isTriesConfigurable())
  
negative.code: 	}
  	%>
  	 
  	<div id="<portlet:namespace />restrictions" style="display:none">
  		<liferay-ui:panel title="activity-constraints" collapsible="true" defaultState="<%=actCondefaultState %>">
  		    <script type="text/javascript">
  	
  	
  			    
  			    function setStarDateState(){
  			    	AUI().use('node',function(A) {
  				    	var enabled = document.getElementById('<%=renderResponse.getNamespace() %>startdate-enabledCheckbox').checked; 
  			    		var selector = 'form[name="<%=renderResponse.getNamespace() %>fm"]';
  			    		
  			    		if(enabled) {
  			    			A.all("#startDate").one(".aui-datepicker-button-wrapper").show();
  			    			A.all("#startDate").one("#startDateSpan").removeClass('aui-helper-hidden');
  			    		}else {
  			    			A.all("#startDate").one(".aui-datepicker-button-wrapper").hide();
  			    			A.all("#startDate").one("#startDateSpan").addClass('aui-helper-hidden');
  			    		}
  			    	});
  			    }
  			    
  			    function setStopDateState(){
  			    	AUI().use('node',function(A) {
  				    	var enabled = document.getElementById('<%=renderResponse.getNamespace() %>stopdate-enabledCheckbox').checked; 
  	
  			    		var selector = 'form[name="<%=renderResponse.getNamespace() %>fm"]';
  			    		
  			    		if(enabled) {
  			    			A.all("#endDate").one(".aui-datepicker-button-wrapper").show();
  			    			A.all("#endDate").one("#endDateSpan").removeClass('aui-helper-hidden');
  			    		}else {
  			    			A.all("#endDate").one(".aui-datepicker-button-wrapper").hide();
  			    			A.all("#endDate").one("#endDateSpan").addClass('aui-helper-hidden');
  			    		}
  			    	});
  			    }
  	
  		    </script>
  		<div id="startDate">
  			<aui:field-wrapper label="start-date">
  				<% if (!larntype.hasMandatoryDates()) { %>
  