@using ComputerStoreContracts.ViewModels

@model UserViewModel

@{
    ViewData["Title"] = "Личные данные";
}

<div class="text-center">
    <h2 class="display-4">Данные пользователя</h2>
</div>
<form method="post">
    <div class="row">
        <div class="col-4">ФИО:</div>
        <div class="col-8"><input type="text" name="Fio" value="@Model.FIO" required /></div>
    </div>
    <div class="row">
        <div class="col-4">Логин:</div>
        <div class="col-8"><input type="text" name="login" value="@Model.Login" required /></div>
    </div>
    <div class="row">
        <div class="col-4">Пароль:</div>
        <div class="col-8"><input type="password" name="password" value="@Model.Password" required /></div>
    </div>
    <div class="row">
        <div class="col-4">Почта:</div>
        <div class="col-8"><input type="text" name="email" value="@Model.Email" required /></div>
    </div>

    <div class="row">
        <div class="col-8"></div>
        <div class="col-4"><input type="submit" value="Сохранить" class="btn btn-primary" /></div>
    </div>
</form>