<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="eDocumentTemplateOnFlowProcessCreate.aspx.cs" Inherits="eDocument.Server.Administrator.WorkFlow.CreateEDocumentTemplateOnFlowProcess" MasterPageFile="~/Site.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">
    <h1 class="skjema-admin__page-title">
        Velg skjema som skal benytte arbeidsflyten
    </h1>

    <div class="skjema-admin__page__field">
        <asp:Label 
            ID="Label9" 
            CssClass="skjema-admin__page__label"
            runat="server">
            Skjema
        </asp:Label>

        <asp:DropDownList 
            ID="ddlEDocumentTemplate" 
            CssClass="skjema-admin__page__text"
            runat="server" 
            DataTextField="ShortNameWithName" 
            DataValueField="eDocumentTemplateID">
        </asp:DropDownList>

        <asp:HyperLink ID="Hyperlink5" runat="server" NavigateUrl="" Target="_blank" Visible="false">Help</asp:HyperLink>

        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="ddlEDocumentTemplate"
            ErrorMessage="You must select a template"></asp:RequiredFieldValidator>
    </div>

    <div class="skjema-admin__page__field">
        <asp:Label 
            ID="Label1" 
            CssClass="skjema-admin__page__label"
            runat="server">
            Sakstittel
        </asp:Label>

        <asp:TextBox 
            ID="txtCaseTitle" 
            CssClass="skjema-admin__page__text"
            runat="server">
        </asp:TextBox>
    </div>

    <div>
        <asp:Button 
            ID="btnCreate" 
            CssClass="skjema-admin__button skjema-admin__button--primary"
            runat="server" 
            Text="Opprett" 
            OnClick="btnCreate_Click">
        </asp:Button>
    </div>

    <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label>
</asp:Content>
