@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 panel-heading">
        <h1>@T("Forum.MoveTopic")</h1>
    </div>
    <div class="page-body">
        <form asp-route="TopicMove" method="post">
            <input type="hidden" asp-for="Id" />
            <div class="move-topic-wrapper">
                <div class="form-group row">
                    <label class="control-label col-sm-2 col-md-2 move-topic-text">@T("Forum.SelectTheForumToMoveTopic"):</label>
                    <div class="col-sm-6 col-md-6">
                        <select class="form-control" asp-for="ForumSelected" asp-items="@(new SelectList(Model.ForumList, "Value", "Text"))"></select>
                    </div>
                </div>
                <div class="form-group row">
                    <div class="buttons col-sm-offset-2 col-md-offset-2 col-sm-6 col-md-6">
                        <button type="submit" class="btn btn-primary submit-forum-topic-button">@T("Forum.Submit")</button>
                        <button type="button" class="btn btn-default 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>
