<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>






<!DOCTYPE html>
<html lang="zh-cn">

<jsp:include page="/admin/head.jsp"></jsp:include>

<body>
<div class="panel admin-panel">
        <div class="body-content">
        <form method="post" class="form-x" action="updateCapitals" enctype="multipart/form-data" >


              <div class="form-group">
                   <div class="label">
                       <label>图片：</label>
                   </div>
                  <div class="field">
                      <img src="../upload/${capitals.img}" width="100px;" height="100px;">
                      <div class="tips"></div>
                  </div>
              </div>
              <div class="form-group">
                   <div class="label">
                       <label>名称：</label>
                   </div>
                  <div class="field">
                      <input type="text" class="input" name="name" value="${capitals.name}"    placeholder="请输入名称"  onblur="return checkName()" readonly />
                      <input type="hidden" value="${capitals.id}" name="id">
                      <div class="tips"></div>
                  </div>
              </div>


              <div class="form-group">
                   <div class="label">
                       <label>内容：</label>
                   </div>
                  <div class="field">
                      ${capitals.note}
                      <div class="tips"></div>
                  </div>
              </div>


            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                </div>
            </div>
        </form>
    </div>
</div>

</body>
</html>

