<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Client/ClientMaster.master" CodeBehind="EditContract.aspx.vb" Inherits="Web.EditContract" %>
<%@ MasterType VirtualPath="ClientMaster.Master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="phContent" runat="server">

    <div class="container">
        <h1><%= If(contractId, "Edit Contract", "Add Contract") %></h1>

        <div class="form-group">
            <asp:Label runat="server" AssociatedControlID="txtName" Text="Name" />
            <asp:TextBox ID="txtName" runat="server" MaxLength="200" CssClass="form-control" />
            <asp:HiddenField ID="hidOldName" runat="server" />
        </div>
        <div class="form-group">
            <asp:CheckBox ID="chkActive" runat="server" Text="Active" Checked="true" />
            <asp:HiddenField ID="hidOldActive" runat="server" />
        </div>

        <div class="row">
            <div class="col">
                <asp:Button ID="btnCancel" runat="server" CssClass="btn btn-secondary" Text="Cancel" CausesValidation="false" />
            </div>
            <div class="col text-right">
                <asp:Button ID="btnSave" runat="server" CssClass="btn btn-primary" Text="Save" />
            </div>
        </div>

    </div>

</asp:Content>
