Skip to content

Commit

Permalink
Adding a form to create restaurants: follow-up - forgot to add the <f…
Browse files Browse the repository at this point in the history
…orm> tag in Create.cshtml created in Rider
  • Loading branch information
gorohoroh committed Jul 5, 2018
1 parent 317f2e8 commit e1eef7d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions OdeToFoodRider/OdeToFoodRider/Views/Home/Create.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@
<body>
<h1>Create</h1>

<input asp-for="Name"/>
<form method="post">
<input asp-for="Name"/>

@*VSRD: Rider's code analysis bug in the asp-items expression below: RSRP-469518 *@
<select asp-for="Cuisine" asp-items="@Html.GetEnumSelectList<CuisineType>()"></select>
@*VSRD: Rider's code analysis bug in the asp-items expression below: RSRP-469518 *@
<select asp-for="Cuisine" asp-items="@Html.GetEnumSelectList<CuisineType>()"></select>

<input type="submit" name="save" value="Save"/>
<input type="submit" name="save" value="Save"/>
</form>
<div>

</div>
Expand Down

0 comments on commit e1eef7d

Please sign in to comment.