<script type='text' id='editChunk-tmpl'>
	<div id='editGroup'>
		<div class="panel panel-default">
			<div class="panel-heading" data-toggle="collapse" data-parent="#editGroup" href="#collapseOne">
				{{name}}<span data-lang="basicPropertiesOfGroup">分组基本属性</span>
			</div>
			<div class="panel-body" id="collapseOne">
				<div class="input-group">
					<span class="input-group-addon" data-lang="areaHeight">区域高度</span>
					<input type="number" name="height" id = "height" class="form-control" value={{height}} isChunk="true"/>
				</div>
				<div class="input-group">
						<span class="input-group-addon" data-lang="outputPrintingConditions">输出打印条件</span>
						<input type="text" name="printWhenExpression" id="printWhenExpression" class="form-control" placeholder="" value={{printWhenExpression}} />
					</div>
				<div class="input-group">
					<span class="input-group-addon" data-lang="segmentationType">分割类型</span>
					<select id='splitType' type="text" name="splitType" class="form-control" >
						{{each splitType as value key}}
							{{if value == "true"}}
								<option selected>{{key}}</option>
							{{else}}
								<option>{{key}}</option>
							{{/if}}
						{{/each}}
					</select>
				</div>
			</div>
		</div>
		<div class="panel panel-default">
			<div class="panel-heading" data-toggle="collapse" data-parent="#editGroup" href="#collapseTwo" data-lang="specialAttr">
				特殊属性
			</div>
			<div class="panel-body" id="collapseTwo">
				<div class="input-group">
					<span class="input-group-addon">名称</span>
					<input type="text"  id = "name" class="form-control"  isChunk="true" value={{name}} />
				</div>
				<div class="input-group">
					<span class="input-group-addon" style='line-height:1.6' data-lang="groupField">分组字段</span>
					
					<select id='field' type="text" name="field" value="" class="form-control" >

						{{each fields as value key}}
							
							{{if value == "true"}}
								<option selected>{{key}}</option>
							{{else}}
								<option>{{key}}</option>
							{{/if}}
						{{/each}}
					</select>
					
				</div>
			</div>
		</div>
	</div>
</script>