@page
@model Server.Pages.Panel.Users.CreateModel

@{
    var pageTitle =
        $"{Resources.DataDictionary.CreateOf} {Resources.DataDictionary.User}";

    ViewData[Constants.ViewDataKeyName.PageTitle] = pageTitle;
}

<form method="post">

    <section-form>

        <fieldset>

            <section-form-header>
                @(pageTitle)
            </section-form-header>

            <partial name="PartialViews/_DisplayPageMessages" />


            <ub-full-input asp-for="CreateViewModel.Username" />

            <ub-full-input asp-for="CreateViewModel.Password" />

            <ub-full-input asp-for="CreateViewModel.Mobile" />

            <ub-full-checkbox asp-for="CreateViewModel.IsActive" />

        </fieldset>

        <section-form-buttons>
            <button-create />
            <button-reset />
        </section-form-buttons>

    </section-form>

</form>