@model Yavsc.Models.Streaming.LiveFlow

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

<h2>@ViewData["Title"]</h2>

<form asp-action="Create">
    <div class="form-horizontal">
        <h4>LiveFlow</h4>
        <hr />
        <div asp-validation-summary="All" class="text-danger"></div>
        <div class="form-group">
            <label asp-for="DifferedFileName" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="DifferedFileName" class="form-control" />
                <span asp-validation-for="DifferedFileName" class="text-danger" ></span>
            </div>
        </div>
        <div class="form-group">
            <label asp-for="MediaType" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="MediaType" class="form-control" />
                <span asp-validation-for="MediaType" class="text-danger" ></span>
            </div>
        </div>
                <input type="hidden" asp-for="OwnerId" class ="form-control" 
                value="@User.GetUserId()" />
         
        <div class="form-group">
            <label asp-for="Pitch" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="Pitch" class="form-control" />
                <span asp-validation-for="Pitch" class="text-danger" ></span>
            </div>
        </div>
        <div class="form-group">
            <label asp-for="Title" class="col-md-2 control-label"></label>
            <div class="col-md-10">
                <input asp-for="Title" class="form-control" />
                <span asp-validation-for="Title" class="text-danger" ></span>
            </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>

