<!-- include 'header' -->
<body>
	<div class="mainLayout">
		<div class="mainMenu">
			<div class="menuItem">
				<a href="/" class="mLogo">CLD</a>
				<ul>
					<!-- include 'menu' -->
				</ul>
			</div>
		</div>
		<div class="warpContent">
			<div class="subMenu fL">
				<div class="menuItem">
					<ul>
						<!-- include 'admin_menu' -->
					</ul>
				</div>
			</div>
			<div class="adminContent autoHeight">
			    <form name="group" action="/addCategory" method="post">
		            <legend>添加办事处</legend>
					    <div class="control-group">
			              <label class="control-label">办事处名称</label>
			              <div class="controls">
			                <input type="text" name="title">
			              </div>
			            </div>
			            <div class="control-group">
			              <label class="control-label">地区</label>
			              <div class="controls">
			                <select name="district" >
			  					
			  						<!-- loop district -->
			  						
			  						<option value="{{district' vlaue.id}}">{{district' vlaue.name}}</option>
			  						
			  						<!-- endloop -->
			  					</select>
			              </div>
			            </div>
			            <div class="control-group">
			              <div class="controls">
					    	<button type="submit" class="button">添加新办事处</button>
					    	<span>{{msg}}</span>
			              </div>
			            </div>
			    </form>
			    <table class="table table-striped">
              <thead>
                <tr>
                  <th>#</th>
                  <th>办事处名称</th>
                  <th>员工</th>
                  <th>操作</th>
                </tr>
              </thead>
              <tbody>
              <!-- loop category -->
                <tr>
                  <td>{{category' value.cid}}</td>
                  <td><span>{{category' value.title}}</span><input type="text" style="display:none;" id="title" value="{{category' value.title}}"></input></td>
                  <td>{{category' value.count}}</td>
                  <td><a href="#">编辑</a><!-- /<a href="#">删除</a> --></td> 
                </tr>
                <!-- endloop -->
                
              </tbody>
            </table>
			</div>
		</div>
	</div>
<script type="text/javascript">autoFlashHeight();</script>	
</body>