@model Yavsc.Models.Blog.Comment

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

<h2>Create</h2>

<form asp-action="Create">
    <div class="form-horizontal">
        <h4>Comment</h4>
        <hr />
        <div asp-validation-summary="ModelOnly" class="text-danger"></div>
        <div class="form-group">
            <label asp-for="Content" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="Content" class="form-control" />
                <span asp-validation-for="Content" class="text-danger" ></span>
            </div>
        </div>
        <div class="form-group">
            <label asp-for="DateCreated" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="DateCreated" class="form-control" />
                <span asp-validation-for="DateCreated" class="text-danger" ></span>
            </div>
        </div>
        <div class="form-group">
            <label asp-for="DateModified" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="DateModified" class="form-control" />
                <span asp-validation-for="DateModified" class="text-danger" ></span>
            </div>
        </div>
        <div class="form-group">
            <label asp-for="ReceiverId" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <select asp-for="ReceiverId" class ="form-control"></select>
            </div>
        </div>
        <div class="form-group">
            <label asp-for="UserCreated" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="UserCreated" class="form-control" />
                <span asp-validation-for="UserCreated" class="text-danger" ></span>
            </div>
        </div>
        <div class="form-group">
            <label asp-for="UserModified" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="UserModified" class="form-control" />
                <span asp-validation-for="UserModified" class="text-danger" ></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <div class="checkbox">
                    <input asp-for="Visible" />
                    <label asp-for="Visible"></label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <input type="submit" value="Create" class="btn btn-primary" />
            </div>
        </div>
    </div>
</form>

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

