﻿@model Kooboo.CMS.Sites.ABTest.ABPageSetting
@using Kooboo.CMS.Sites.ABTest;
@{
    ViewBag.Title = "Edit A/B page setting";
    Layout = "~/Views/Shared/Blank.cshtml";
}
@section Panel{
    <ul class="panel">
        <li>
            <a data-ajaxform="">
                @Html.IconImage("save") @("Save".Localize())</a>
        </li>
        <li>
            <a href="@ViewContext.RequestContext.GetRequestValue("return")">
                @Html.IconImage("cancel") @("Back".Localize())</a>
        </li>
    </ul>
}

<div class="block common-form">
    <h1 class="title">@ViewBag.Title</h1>

    @using (Html.BeginForm())
    {       
        @Html.ValidationSummary(true)      
        <table>
            <tbody>
                @Html.DisplayFor(o => o.RuleName)
                @Html.HiddenFor(o => o.RuleName)
                @Html.DisplayFor(o => o.MainPage)
                @Html.EditorFor(o => o.Items)
                @Html.EditorFor(o => o.ABTestGoalPage, new { HtmlAttributes = new { @class = "medium" } })
            </tbody>
        </table>
    }
</div>

﻿@model Kooboo.CMS.Sites.ABTest.ABPageSetting
@using Kooboo.CMS.Sites.ABTest;
@{
    ViewBag.Title = "Edit A/B page setting";
    Layout = "~/Views/Shared/Blank.cshtml";
}
@section Panel{
    <ul class="panel">
        <li>
            <a data-ajaxform="">
                @Html.IconImage("save") @("Save".Localize())</a>
        </li>
        <li>
            <a href="@ViewContext.RequestContext.GetRequestValue("return")">
                @Html.IconImage("cancel") @("Back".Localize())</a>
        </li>
    </ul>
}

<div class="block common-form">
    <h1 class="title">@ViewBag.Title</h1>

    @using (Html.BeginForm())
    {       
        @Html.ValidationSummary(true)      
        <table>
            <tbody>                
                @Html.EditorFor(o => o.RuleName)
                @Html.DisplayFor(o => o.MainPage)
                @Html.EditorFor(o => o.Items)
                @Html.EditorFor(o => o.ABTestGoalPage, new { HtmlAttributes = new { @class = "medium" } })
            </tbody>
        </table>
    }
</div>

Make available to change the rule when editing A/B page setting.
Make available to change the rule when editing A/B page setting.
