@model Yavsc.Models.Auth.Client

@{
    ViewData["Title"] = "Create";
}

<h2>Create</h2>

<form asp-action="Create">
    <div class="form-horizontal">
        <h4>Client</h4>
        <hr />
        <div asp-validation-summary="ValidationSummary.ModelOnly" class="text-danger"></div>
        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <div class="checkbox">
                    <input asp-for="Active" />
                    <label asp-for="Active"></label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label asp-for="DisplayName" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="DisplayName" class="form-control" />
                <span asp-validation-for="DisplayName" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="LogoutRedirectUri" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="LogoutRedirectUri" class="form-control" />
                <span asp-validation-for="LogoutRedirectUri" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="RedirectUri" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="RedirectUri" class="form-control" />
                <span asp-validation-for="RedirectUri" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="RefreshTokenLifeTime" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="RefreshTokenLifeTime" class="form-control" />
                <span asp-validation-for="RefreshTokenLifeTime" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="Secret" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="Secret" class="form-control" />
                <span asp-validation-for="Secret" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <label asp-for="Type" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                @Html.DropDownList("Type")
                <span asp-validation-for="Type" class="text-danger" />
            </div>
        </div>
        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <input type="submit" value="Create" class="btn btn-default" />
            </div>
        </div>
    </div>
</form>

<div>
    <a asp-action="Index">Back to List</a>
</div>

