<%@ page title="" language="C#" masterpagefile="~/MasterFile/TimeCheck.master" autoeventwireup="true" inherits="Masters_TA_UI_Master_ReligionAdd, App_Web_wf1es5ed" %>

<asp:Content ID="cnt_religionAdd" ContentPlaceHolderID="BodyContentPH" runat="Server">
    <div class="content-header">
        <h1 style="background-image: url('../dist/img/religion.png'); background-repeat: no-repeat; padding-left: 35px">
            <asp:Label ID="lbl_Header" runat="server"></asp:Label>
        </h1>
        <asp:SiteMapPath ID="site" runat="server" CssClass="breadcrumb">
            <NodeStyle CssClass="active" />
        </asp:SiteMapPath>
    </div>
    <div class="content">
        <div class="inr-ftr">
            <div class="row">
                <div class="col-sm-12">
                    <div class="pull-right">
                        <h6>
                            <span style="color: Red">|</span><span style="padding-left: 10px; padding-right: 10px"><asp:Label
                                ID="lbl_Man" runat="server"></asp:Label>
                                (2 No.)</span>
                        </h6>
                    </div>
                </div>
                <div class="clearfix">
                </div>
            </div>
        </div>
        <div class="emp-filter">
            <div class="form-horizontal">
                <div class="row">
                    <div class="col-md-12">
                        <div class="row form-group">
                            <div class="col-md-2">
                                <asp:Label ID="lbl_ReligionName" runat="server"></asp:Label>
                            </div>
                            <div class="col-md-3">
                                <asp:TextBox onpaste="return true" ID="txt_ReligionName" runat="server" CssClass="form-control man-dat"
                                    onkeyPress="return acceptChars_MaxLength(event,this,50,MaxLength,MaxLength);"
                                    ValidationGroup="vgLeaveType"></asp:TextBox><asp:RequiredFieldValidator ID="Req_Religion"
                                        runat="server" ControlToValidate="txt_ReligionName" ErrorMessage="Enter Religion"
                                        SetFocusOnError="True" ValidationGroup="vgLeaveType" Display="None"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="row form-group">
                            <div class="col-md-2">
                                <asp:Label ID="lbl_ReligionDescription" runat="server"></asp:Label>
                            </div>
                            <div class="col-md-3">
                                <asp:TextBox onpaste="return true" ID="txt_ReligionDescription" runat="server" CssClass="form-control man-dat"
                                    MaxLength="250" onkeyPress="return chkMaxLen(event,this,250,MaxLength)" TextMode="MultiLine"
                                    Style="resize: none" ValidationGroup="vgLeaveType"></asp:TextBox><asp:RequiredFieldValidator
                                        ID="Req_Description" runat="server" ControlToValidate="txt_ReligionDescription"
                                        ErrorMessage="Enter Description" SetFocusOnError="True" ValidationGroup="vgLeaveType"
                                        Display="None"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-2">
                            </div>
                            <div class="col-md-3">
                                <div class="pull-right-button">
                                    <asp:ValidationSummary ID="Val_Leave" runat="server" ShowMessageBox="True" ShowSummary="False" />
                                    <asp:LinkButton ID="btn_save" CssClass="btn save-btn fa-floppy-o" runat="server"
                                        OnClick="btn_save_Click" ValidationGroup="vgLeaveType" />
                                    <asp:LinkButton ID="btn_cancel" CssClass="btn save-btn fa-angle-left" runat="server"
                                        CausesValidation="False" OnClick="btn_cancel_Click" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <script type="text/javascript">
            var MaxLength = "Maximum length is ";
            function MaxLengthh(maxLength) {
                MaxLength = maxLength;
            }
        </script>

    </div>
</asp:Content>
