#pragma checksum "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f88488c8fed96cc084917d71cd13d0e98ff929a4"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_TravelPost_Edit), @"mvc.1.0.view", @"/Views/TravelPost/Edit.cshtml")]
namespace AspNetCore
{
    #line hidden
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Threading.Tasks;
    using Microsoft.AspNetCore.Mvc;
    using Microsoft.AspNetCore.Mvc.Rendering;
    using Microsoft.AspNetCore.Mvc.ViewFeatures;
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"f88488c8fed96cc084917d71cd13d0e98ff929a4", @"/Views/TravelPost/Edit.cshtml")]
    public class Views_TravelPost_Edit : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<Shared_Traveling.ViewModels.TravelPosts.EditVM>
    {
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("width", new global::Microsoft.AspNetCore.Html.HtmlString("45"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", new global::Microsoft.AspNetCore.Html.HtmlString("~/images/back.png"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        #line hidden
        #pragma warning disable 0649
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
        #pragma warning restore 0649
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
        #pragma warning disable 0169
        private string __tagHelperStringValueBuffer;
        #pragma warning restore 0169
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __tagHelperScopeManager
        {
            get
            {
                if (__backed__tagHelperScopeManager == null)
                {
                    __backed__tagHelperScopeManager = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager(StartTagHelperWritingScope, EndTagHelperWritingScope);
                }
                return __backed__tagHelperScopeManager;
            }
        }
        private global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper;
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#nullable restore
#line 2 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
  
    ViewData["Title"] = "Edit";
    Layout = "~/Views/Shared/_Layout.cshtml";

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/particlesjs/2.2.2/particles.min.js\"></script>\r\n<div class=\"row\">\r\n    <div class=\"col-3\"></div>\r\n    <div class=\"col-6\">\r\n        <form action=\"/TravelPost/Edit\" method=\"post\">\r\n            ");
#nullable restore
#line 12 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
       Write(Html.HiddenFor(m => m.Id));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n            ");
#nullable restore
#line 13 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
       Write(Html.HiddenFor(m => m.UserId));

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
            <div class=""card"">
                <div class=""card-header"">
                    Post
                </div>
                <div class=""card-body"">
                    <h5 class=""card-title"">
                        <label>City Of Departure</label>
                        ");
#nullable restore
#line 21 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
                   Write(Html.TextBoxFor(p => p.CityOfDeparture, null, new { @class = "form-control" }));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                        ");
#nullable restore
#line 22 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
                   Write(Html.ValidationMessageFor(p => p.CityOfDeparture, null, new { @class = "error" }));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                        <label for=\"HourOfDeparture\"> Date and Hour Of Departure</label>\r\n                        <input type=\"datetime-local\" id=\"HourOfDeparture\" name=\"HourOfDeparture\" class=\"form-control\"");
            BeginWriteAttribute("value", " value=", 1147, "", 1176, 1);
#nullable restore
#line 24 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
WriteAttributeValue("", 1154, Model.HourOfDeparture, 1154, 22, false);

#line default
#line hidden
#nullable disable
            EndWriteAttribute();
            WriteLiteral(">\r\n                        ");
#nullable restore
#line 25 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
                   Write(Html.ValidationMessageFor(p => p.HourOfDeparture, null, new { @class = "error" }));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                        <label>City Of Destination</label>\r\n                        ");
#nullable restore
#line 27 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
                   Write(Html.TextBoxFor(p => p.CityOfDestination, null, new { @class = "form-control" }));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                        ");
#nullable restore
#line 28 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
                   Write(Html.ValidationMessageFor(p => p.CityOfDestination, null, new { @class = "error" }));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                        <label for=\"HourOfDestination\">Date and Hour of Arrival</label>\r\n                        <input type=\"datetime-local\" id=\"HourOfDestination\" name=\"HourOfDestination\" class=\"form-control\"");
            BeginWriteAttribute("value", " value=", 1774, "", 1805, 1);
#nullable restore
#line 30 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
WriteAttributeValue("", 1781, Model.HourOfDestination, 1781, 24, false);

#line default
#line hidden
#nullable disable
            EndWriteAttribute();
            WriteLiteral(">\r\n                        ");
#nullable restore
#line 31 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
                   Write(Html.ValidationMessageFor(p => p.HourOfDestination, null, new { @class = "error" }));

#line default
#line hidden
#nullable disable
            WriteLiteral("<br />\r\n                        <label for=\"AvailableSeats\">Available Seats</label>\r\n                        <input type=\"number\" id=\"AvailableSeats\" name=\"AvailableSeats\"");
            BeginWriteAttribute("value", " value=", 2087, "", 2115, 1);
#nullable restore
#line 33 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
WriteAttributeValue("", 2094, Model.AvailableSeats, 2094, 21, false);

#line default
#line hidden
#nullable disable
            EndWriteAttribute();
            WriteLiteral("><br />\r\n                        ");
#nullable restore
#line 34 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
                   Write(Html.ValidationMessageFor(p => p.AvailableSeats, null, new { @class = "error" }));

#line default
#line hidden
#nullable disable
            WriteLiteral("<br />\r\n                        <label for=\"AddressOfDeparture\">Address of Departure</label>\r\n                        ");
#nullable restore
#line 36 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
                   Write(Html.TextBoxFor(p => p.AddressOfDeparture, null, new { @class = "form-control" }));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                        ");
#nullable restore
#line 37 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
                   Write(Html.ValidationMessageFor(p => p.AddressOfDeparture, null, new { @class = "error" }));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                        <label>Address of Destination</label>\r\n                        ");
#nullable restore
#line 39 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
                   Write(Html.TextBoxFor(p => p.AddressOfDestination, null, new { @class = "form-control" }));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                        ");
#nullable restore
#line 40 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
                   Write(Html.ValidationMessageFor(p => p.AddressOfDestination, null, new { @class = "error" }));

#line default
#line hidden
#nullable disable
            WriteLiteral(" <br />\r\n                        <label for=\"Price\">Price Per Passenger</label>\r\n                        <input type=\"number\" id=\"Price\" name=\"Price\" step=\"any\">\r\n                        ");
#nullable restore
#line 43 "D:\Shared_Traveling\Shared_Traveling\Shared_Traveling\Views\TravelPost\Edit.cshtml"
                   Write(Html.ValidationMessageFor(p => p.Price, null, new { @class = "error" }));

#line default
#line hidden
#nullable disable
            WriteLiteral(@"
                    </h5>
                    <input class=""btn btn-primary "" type=""submit"" name=""Edit"" value=""Edit Post"" />
                </div>
            </div>
        </form>
        <br />
        <a href=""/TravelPost/Index"">
            ");
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "f88488c8fed96cc084917d71cd13d0e98ff929a411024", async() => {
            }
            );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            WriteLiteral(@"
        </a>
        <br /><br />
    </div>
    <div class=""col-3""></div>
</div>
<script>
    window.
        onload
        = function () {
            Particles.
                init
                ({
                    selector:
                        '.background'
                });
        };
    var particles = Particles.init({
        selector: '.background',
        color: ['#DA0463', '#404B69', '#DBEDF3'],
        connectParticles: true
    });
</script>
<canvas class=""background""></canvas>

");
        }
        #pragma warning restore 1998
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<Shared_Traveling.ViewModels.TravelPosts.EditVM> Html { get; private set; }
    }
}
#pragma warning restore 1591
