<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="FND_LOOKUP_VALUES.aspx.cs"
    Inherits="HRMS.FND_LOOKUP_VALUES" Title="Cloud HR - Lookup Value" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Panel ID="main_pnl" runat="server">
        <div class="row">
            <div class="col-lg-12">
                <section class="panel">
                   <header class="panel-heading" style="padding-bottom:30px">
                           <span class="label label-primary">Lookup Value</span>


                   </header>
                                <div class="panel-body">
                                <div class="span6">
                                <div id="divMessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                <i class="icon-check-sign"></i>
                                <asp:Label ID="lblMessage" class="msg" runat="server" Text="" ></asp:Label>
                                </div>
                                <div class="span6">
                                <div id="diverrorMessage" runat="server" visible="false" class="alert alert-danger alert-dismissable">
                                <i class="icon-check-sign"></i>
                                <asp:Label ID="lblerrorMessage" class="msg" runat="server" Text="" ></asp:Label>
                                </div>
                                </div>
                                </div>
                                <div class="form-group">
                                <div class="col-lg-1"></div>
                                <label for="inputPassword1" class="col-lg-2 col-sm-2 control-label"></label>
                                <div class="col-lg-4">
                                <asp:HiddenField ID="hid_LOOKUP_TYPE" runat="server"></asp:HiddenField>
                                </div>
                                </div>

                                <div class="form-group">
                                <div class="col-lg-1"></div>
                                <label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Code</label>
                                <div class="col-lg-4">
                                <asp:TextBox ID="txt_LOOKUP_CODE" runat="server" placeholder="Code" CssClass="form-control"></asp:TextBox>
                                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txt_LOOKUP_CODE" ControlToValidate="txt_LOOKUP_CODE" ErrorMessage="Code is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>
                                </div>
                                </div>

                                <div class="form-group">
                                <div class="col-lg-1"></div>
                                <label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Meaning</label>
                                <div class="col-lg-4">
                                <asp:TextBox ID="txt_MEANING" runat="server" placeholder="Meaning" CssClass="form-control"></asp:TextBox>
                                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txt_MEANING" ControlToValidate="txt_MEANING" ErrorMessage="Meaning is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>
                                </div>
                                </div>

                                <div class="form-group">
                                <div class="col-lg-1"></div>
                                <label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Description</label>
                                <div class="col-lg-4">
                                <asp:TextBox ID="txt_DESCRIPTION" runat="server" placeholder="Description" CssClass="form-control"></asp:TextBox>
                                </div>
                                </div>

                                <div class="form-group">
                                <div class="col-lg-1"></div>
                                <label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Tag</label>
                                <div class="col-lg-4">
                                <asp:TextBox ID="txt_TAG" runat="server" placeholder="Tag" CssClass="form-control"></asp:TextBox>
                                </div>
                                </div>

                                 <div class="form-group">
                                <div class="col-lg-1"></div>
                                <label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Enabled</label>
                                <div class="col-lg-4">
                                <asp:CheckBox runat="server" ID ="chk_enable" CssClass="checkbox" Text=""/> 
                                </div>
                                </div>

                                <div class="form-group">
                                <div class="col-lg-1"></div>
                                <label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">From</label>
                                <div class="col-lg-4">
                                <asp:TextBox ID="txt_START_DATE_ACTIVE" runat="server" placeholder="From" CssClass="form-control datetime"></asp:TextBox>
                                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txt_START_DATE_ACTIVE" ControlToValidate="txt_START_DATE_ACTIVE" ErrorMessage="From is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>
                                </div>
                                </div>

                                <div class="form-group">
                                <div class="col-lg-1"></div>
                                <label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">To</label>
                                <div class="col-lg-4">
                                <asp:TextBox ID="txt_END_DATE_ACTIVE" runat="server" placeholder="To" CssClass="form-control datetime"></asp:TextBox>
                                </div>
                                </div>

                                <div class"form-group">
                                <asp:Repeater ID="add_info" runat="server">
                                <HeaderTemplate> <header class="panel-heading">Additional Information</header><br /></HeaderTemplate>
                                <ItemTemplate>
                                <div class="form-group">
                                <div class="col-lg-1"></div>
                                <asp:Label ID="r_lbl" runat="server" class="col-lg-2 col-sm-2 control-label" Text='<%# Eval("PROMPT") %>'></asp:Label>
                                <div class="col-lg-4">
                                <asp:TextBox ID="txt_r_value" runat="server"  placeholder='<%# Eval("PROMPT") %>' Text='<%# Eval("value") %>' CssClass="form-control"></asp:TextBox>
                                <asp:HiddenField ID="hid_field_name" runat="server" Value='<%# Eval("col_name") %>' ></asp:HiddenField>
                                </div>
                                </div>
                                </ItemTemplate>
                                </asp:Repeater>
                                </div><div class="form-group">
                                <div class="col-lg-1"></div>
                                <div class="col-lg-offset-2 col-lg-8">
                                <asp:Button ID="btnSave" class="btn btn-info" runat="server" Text="Save"  onclick="btnSave_Click" ValidationGroup="save" ></asp:Button>
                                <a href="#" id="aCancel" runat="server" class="btn btn-info">Back</a>
                                </div>
                                </div>

                                </div>
                </section>
            </div>
        </div>
    </asp:Panel>
    
</asp:Content>
