<script type='text' id='editVariable-tmpl'>
	
	<div id='editReport'>
		<div class="panel panel-default">
			<div class="panel-heading">
				{{title}} -  <span>属性</span>
			</div>

			<div class="panel-body" idOne={{idOne}} >
				<div class="input-group">
					<span class="input-group-addon" data-lang="name">名字</span>
					<input type="text" name="name" id = "text"  class="form-control"value={{name}} />
				</div>
				<div class="input-group">
					<span class="input-group-addon" data-lang="classOfVariable">变量所属类</span>
					<select id='cls' type="text" name="str" class="form-control">

						{{each cls as value key}}

							{{if value == "true"}}
								<option selected>{{key}}</option>
							{{else}}
								<option>{{key}}</option>
							{{/if}}
						{{/each}}
					</select>
				</div>
				<div class="input-group">
					<span class="input-group-addon" data-lang="classOfVariable">计算类型</span>
					<select id='option' type="text" name="str" class="form-control">

						{{each str as value key}}

							{{if value == "true"}}
								<option selected>{{key}}</option>
							{{else}}
								<option>{{key}}</option>
							{{/if}}
						{{/each}}
					</select>
				</div>
				<div class="input-group">
					<span class="input-group-addon" style='line-height:1.6' data-lang="resetType">重置类型</span>

                    <select id='resetType' type="text" name="resetType" class="form-control" >

                        {{each resetTypeOption as value key}}

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

				</div>
				<div class="input-group {{if resetType !== 'Group'}}d-none {{else}} {{/if}}"  data-componentName="resetType" data-value="Group">
						<span class="input-group-addon" data-lang="resetGroup">重置组</span>
						<select id='resetGroup' type="text" name="resetGroup" class="form-control" >
							{{each resetGroupNames as value key}}
								{{if value == "true"}}
									<option selected>{{key}}</option>
								{{else}}
									<option>{{key}}</option>
								{{/if}}
							{{/each}}
						</select>
					</div>
				<div class="input-group">
					<span class="input-group-addon" style='line-height:1.6' data-lang="expression">表达式</span>
					<input id='varExpression' name="varExpression" value='{{varExpression}}' class="form-control" type='text'>
					
				</div>

			</div>
		</div>
	</div>
</script>