<%@ Page Language="C#"  MasterPageFile="~/Site1.Master" AutoEventWireup="True" CodeBehind="PAY_ELEMENT_ENTRY_VALUES.aspx.cs" Inherits="HRMS.PAY_ELEMENT_ENTRY_VALUES" Title="Cloud HR - Entry Values" %>
<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-md-12">
                <section class="panel">
                    <header class="panel-heading">Entry Values
                        <div class="pull-right">
                        <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>
                    </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>
<br />

                <div class="form-group">
                    <asp:HiddenField ID="hid_ELEMENT_ENTRY_ID" runat="server"></asp:HiddenField>
                      <asp:Repeater ID="rpt_inputEntries" runat="server">
                         <ItemTemplate>
                         <div class="row">
                           <div class="col-md-10  col-md-offset-1">
                             <asp:Label ID="r_lbl" runat="server" class="col-md-4 control-label" Text='<%# Eval("NAME") %>'></asp:Label>
                             <div class="col-md-3">
                                 <asp:TextBox ID="txt_SCREEN_ENTRY_VALUE" runat="server"  Text='<%# Eval("value") %>' CssClass="form-control"></asp:TextBox>
                                 <asp:HiddenField ID="hid_INPUT_VALUE_ID" runat="server" Value='<%# Eval("INPUT_VALUE_ID") %>' ></asp:HiddenField>
                                 <asp:HiddenField ID="hid_ELEMENT_ENTRY_VALUE_ID" runat="server" Value='<%# Eval("ELEMENT_ENTRY_VALUE_ID") %>' ></asp:HiddenField>

                             </div>
                           </div>
                         </div>
                         </ItemTemplate>
                     </asp:Repeater>
                </div>



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

</asp:Content>