@model TopicMoveModel
@{    
    Layout = "_ColumnsOne";

    //title
    NopHtml.AddTitleParts(T("Forum.PageTitle.MoveTopic").Text);
    //page class
    NopHtml.AppendPageCssClassParts("html-move-topic-page");
}
@await Component.InvokeAsync(typeof(ForumBreadcrumbViewComponent), new { forumTopicId = Model.Id })
<div class="page move-topic-page">
    <div class="page-title">
        <h1>@T("Forum.MoveTopic")</h1>
    </div>
    <div class="page-body">
        <form asp-route="TopicMove" method="post">
            <input type="hidden" asp-for="Id" />
            <div class="fieldset">
                <div class="form-fields">
                    <div class="row mb-3">
                        <label class="col-sm-12 col-md-4 col-lg-4 col-xl-4 col-form-label pl-0 pr-0 pt-0">@T("Forum.SelectTheForumToMoveTopic"):</label>
                        <div class="col-sm-12 col-md-5 col-lg-5 col-xl-5">
                            <select asp-for="ForumSelected" asp-items="@(new SelectList(Model.ForumList, "Value", "Text"))" class="forum-topic-title-text form-control custom-select"></select>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row mb-3">
                <div class="offset-md-4 offset-lg-4 offset-xl-4 col-sm-12 col-md-8 col-lg-8 col-xl-8">
                    <div class="buttons">
                        <button type="submit" class="btn btn-primary button-1 submit-forum-topic-button">@T("Forum.Submit")</button>
                        <button type="button" class="btn btn-primary button-2 cancel-forum-topic-button" onclick="setLocation('@Url.RouteUrl("TopicSlug", new { id = Model.Id, slug = Model.TopicSeName })')">@T("Forum.Cancel")</button>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>