<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="utf-8"%>
<%@include file="/WEB-INF/ehr/commons/jsp/commonInclude.jsp" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<style>

    #inp_url { height: 50px; }
    #inp_description { height: 100px; }

</style>

<div id="div_info_form" data-role-form class="m-form-inline f-mt20 " style="padding-top: 5px">
    <div class="m-form-group">
        <label><span class="red">*&nbsp;</span>资源名称：</label>
        <div class="l-text-wrapper m-form-control">
            <input type="hidden" name="id"/>
            <input type="text" id="inp_resource_name" class="required f-w240" placeholder="请输入资源类别名称"  required-title="该项为必输项！" name="name"/>
        </div>
    </div>
    <div class="m-form-group">
        <label><span class="red">*&nbsp;</span>资源代码：</label>
        <div class="l-text-wrapper m-form-control">
            <input type="text" id="inp_resource_code" data-type="select" class="required" name="code">
        </div>
    </div>
    <div class="m-form-group">
        <label><span class="red">*&nbsp;</span>类型：</label>
        <div class="u-checkbox-wrap m-form-control">
            <input type="radio" value="1" checked  name="inp_resource_type" >事实表
            <input type="radio" value="2"  name="inp_resource_type" >逻辑表
        </div>
    </div>
    <div class="m-form-group">
        <label><span class="red">*&nbsp;</span>提供方式</label>
        <div class="u-checkbox-wrap m-form-control">
            <input type="radio" value="1" checked name="inp_resource_support_type" data-attr-scan="supportType" class="checked" >推模式
            <input type="radio" value="2"  name="inp_resource_support_type" >拉模式
        </div>
    </div>
    <!--
    <div class="m-form-group">
        <label>服务频率<spring:message code="spe.colon"/></label>
        <div class="l-text-wrapper m-form-control essential">
            <input type="text" id="inp_resource_rate" data-type="select"  data-attr-scan="rate">
        </div>
    </div>-->
    <div class="m-form-group">
        <label><span class="red">*&nbsp;</span>资源分类：</label>
        <div class="l-text-wrapper m-form-control ">
            <input type="text" id="inp_resource_category" name="category">
        </div>
    </div>


    <div position="bottom" title="">
        <div class="m-form-bottom">
            <div id="btn_cancel" class="l-button l-button-no">
                <span>关闭</span>
            </div>
            <div id="btn_save" class="l-button">
                <span>保存</span>
            </div>
        </div>
    </div>
</div>

