<%--
  Created by IntelliJ IDEA.
  User: AndyCai
  Date: 2015/10/14
  Time: 19:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="utf-8"%>
<%@include file="/WEB-INF/ehr/commons/jsp/commonInclude.jsp" %>
<style type="text/css">
  .pane-attribute-toolbar{
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    padding: 6px 0 4px;
    background-color: #fff;
    border-top: 1px solid #ccc;
    text-align: right;
  }
  .close-toolbar{
    margin-right: 20px;
  }

  input{
    height: 28px;
    width: 240px;
  }
</style>
<div id="div_cda_info_form" data-role-form class="m-form-inline f-mt20">
  <div class="m-form-group">
    <label>代码：</label>
    <div class="l-text-wrapper m-form-control essential">
      <input type="text" class="required f-w240 " id="txt_Code" data-attr-scan="code">
    </div>
  </div>
  <div class="m-form-group">
    <label>名称：</label>
    <div class="l-text-wrapper m-form-control essential">
      <input type="text" id="txt_Name" data-attr-scan="name" class="required f-w240">
    </div>
  </div>
  <div class="m-form-group">
    <label>CDA文件路径：</label>
    <div class="m-form-control">
      <input type="text" id="txt_schema_path" data-attr-scan="schema">
    </div>
  </div>
  <div class="m-form-group">
    <label>标准来源：</label>
    <div class="l-text-wrapper m-form-control">
      <input type="text" id="ipt_select" data-type="select" data-attr-scan="sourceId">
    </div>
  </div>
  <div class="m-form-group">
    <label>描述：</label>
    <div class="m-form-control">
      <textarea rows="3" id="txt_description" name="txb_desc" style="width: 240px;height: 60px;" data-attr-scan="description"  class="required useTitle"></textarea>
    </div>
  </div>

  <div class="m-form-control pane-attribute-toolbar">
    <div class="l-button u-btn u-btn-primary u-btn-large f-ib f-vam" id="btn_create_file">
      <span>创建文档</span>
    </div>
    <div class="l-button u-btn u-btn-primary u-btn-large f-ib f-vam" id="btn_save">
      <span>保存</span>
    </div>
    <div class="l-button u-btn u-btn-cancel u-btn-large f-ib f-vam close-toolbar" id="btn_close">
      <span>关闭</span>
    </div>
  </div>

  <input type="hidden" id="hdId" value=""/>
  <input type="hidden" id="hdversion" value=""/>
  <input type="hidden" id="hd_url" value="${contextRoot}"/>
  <input type="hidden" id="hd_user" value="${User.id}"/>
</div>
