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

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">
    
    <h1 class="skjema-admin__page-title">
        Rediger rolle
    </h1>

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

        <asp:TextBox 
            ID="txtName" 
            CssClass="skjema-admin__page__text"
            runat="server" 
            MaxLength="300">
        </asp:TextBox>

        <asp:HyperLink ID="HyperLink7" runat="server" Target="j" Visible="False">Hjelp</asp:HyperLink>

        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Du må angi et navn" ControlToValidate="txtName"
            Display="Dynamic"></asp:RequiredFieldValidator>
    </div>

    <div class="skjema-admin__page__field">
        <label class="skjema-admin__page__label">
            Ledetekst
        </label>

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

    <div class="skjema-admin__page__field">
        <label class="skjema-admin__page__label">
            Standard saksbehandler
        </label>

        <asp:DropDownList
            CssClass="skjema-admin__page__text"
            runat="server" 
            ID="ddlUsers" />
    </div>

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

        <asp:TextBox 
            ID="txtDescription" 
            CssClass="skjema-admin__page__text"
            runat="server" 
            TextMode="MultiLine" 
            Height="50px">
        </asp:TextBox>
    </div>

    <div class="skjema-admin__page__field">
        <label class="skjema-admin__page__label">
            Huk av for å begrense påloggingstilbydere
        </label>
        <asp:CheckBoxList 
            ID="cbIdentityProviders" 
            CssClass="skjema-admin__page__tick"
            runat="server">
            <asp:ListItem Value="IdPorten">ID-porten autentisering</asp:ListItem>
            <asp:ListItem Value="Feide">Feide autentisering</asp:ListItem>
        </asp:CheckBoxList>    
    </div>

    <asp:Button 
        ID="btnUpdate" 
        CssClass="skjema-admin__button skjema-admin__button--primary"
        runat="server" 
        Text="Oppdater" 
        OnClick="btnUpdate_Click">
    </asp:Button>

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