﻿@model InfinysBreakfastOrders.Web.InputModels.Orders.OrderInputModel
@{
    ViewBag.Title = "Post New Order";
}

<h1>@ViewBag.Title</h1>

@using (Html.BeginForm("NewOrder", "Orders", FormMethod.Post))
{
    <div class="row">
        @Html.LabelFor(model => model.OrderDate)
        @Html.TextBoxFor(model => model.OrderDate, new { id = "date-picker" })
    </div>

    <hr />
    
    <div class="row">
        @Html.LabelFor(model => model.OrderText)
        @Html.EditorFor(model => model.OrderText)
    </div>
    
    <hr />
    
    <div class="form-group text-center">
        <input type="submit" value="Post New Order" class="btn btn-primary btn-lg"/>
    </div>
} 
﻿@model InfinysBreakfastOrders.Web.InputModels.Orders.OrderInputModel
@{
    ViewBag.Title = "Post New Order";
}

<h1>@ViewBag.Title</h1>

@using (Html.BeginForm("NewOrder", "Orders", FormMethod.Post))
{
    <div class="row">
        @Html.LabelFor(model => model.OrderDate)
        @Html.TextBoxFor(model => model.OrderDate, new { id = "date-picker", @Value = DateTime.Now.Date })
    </div>

    <hr />
    
    <div class="row">
        @Html.LabelFor(model => model.OrderText)
        @Html.EditorFor(model => model.OrderText)
    </div>
    
    <hr />
    
    <div class="form-group text-center">
        <input type="submit" value="Post New Order" class="btn btn-primary btn-lg"/>
    </div>
} 
Fix date in date pickuper
Fix date in date pickuper
