{{#unless subjects}}
	<div style="width:1px;height:120px;"></div>
	<div class="none_of_homework_tip" style="width: 570px;height: 490px;margin:0 auto;position:relative;">
		<p style="width:356px;height:156px;font-size: 24px;background:url(img/dlgFrame.png) no-repeat;padding: 10px;">
			哈哈！！太棒了，没有错题。
		</p>
		<img src="img/noHomeworkTip.png" style="position:absolute;top:100px;left:115px;">
	</div>
{{/unless}}
{{#each subjects}}
	<div class="subject subject_{{#unless errorCount}}in{{/unless}}active" data-subject="{{name}}" id="{{id}}">
		<div class="subject_icon">
			{{#if errorCount}}
				<img  src="./img/{{name}}_active.png"></img>
			{{else}}
				<img src="./img/{{name}}.png"></img>
			{{/if}}
		</div>
		<div class="subject_description">
			<p class="subject_title">{{title}}</p>
			{{#if errorCount}}
				<p class="error_text">共{{errorCount}}道</p>
			{{/if}}
		</div>
	</div>
{{/each}}