<!---- 
Author 		 : Herpan
Created Date : 12/08/2014
Revision 	 : 1) Hasan | 11/02/2015 | Design UI
-->

<div class="easyui-layout" data-options="fit:true,border:false">
    <!-- top view-->
    <div id="form-header" data-options="region:'north',border:false" >
        <div id="form-header-wrapper">
            <table cellpadding="0" cellspacing="0" width="100%" height="100%" border="0">
            <tr>
                <td align="left" valign="middle">
                    <a href="#" class="easyui-linkbutton" iconCls="icon-document" plain="true" onclick="location.reload()">New</a>
                </td>							
                <td height="25" align="right" valign="middle">								
                    <span class="form-title">
                        <?php echo $menu_label; ?>
                    </span>
                </td>
            </tr>
            </table>		     	
        </div>			
    </div>
    <!-- end top view -->	

    <!-- center view -->
    <div id="form-body-grey" data-options="region:'center',border:false">
        <div id="form-wrapper" class="easyui-panel" style="width:auto;padding:5px;height:524px;">
            <form id="fm_warehouse_type" name="fm_warehouse_type" method="post">
                <table width="100%" border="0" cellspacing="1" cellpadding="1">
                <tr>
                    <td width="300px"><b>Warehouse Type Name</b></td>
                    <td>
                        <input type="text" name="txt_name" class="easyui-validatebox" data-options="required:true" style="width:850px;text-transform:uppercase" />
                    </td>									   
                </tr>
                <tr>
                    <td valign="top"><b>Description</b></td>
                    <td>
                        <textarea name="txt_desc" style="width:846px;resize:none;" rows="4"></textarea>
                    </td>
                </tr>
                </table>
            </form>
        </div>
    
        <div id="form-footer">
            <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-help" onclick="" plain="true">Help</a>			
            <a href="javascript:void(0)" class="easyui-linkbutton form-button" iconCls="icon-save" onclick="save_data('<?php echo $menu_link?>','#fm_warehouse_type', 1);">Save</a>
            <a href="javascript:void(0)" class="easyui-linkbutton form-button" iconCls="icon-cancel" onclick="">Cancel</a>
        </div>		
    </div>
</div>