Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
zha779645641TeTEst committed Feb 18, 2019
1 parent a7e182d commit d7a3d18
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
3 changes: 1 addition & 2 deletions LibraryDemo/Views/BookInfo/EditLendingInfo.cshtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@using LibraryDemo.Models.DomainModels
@model LibraryDemo.Models.DomainModels.Book
@model LibraryDemo.Models.DomainModels.Book
@{
ViewData["Title"] = "EditLendingInfo";
Layout="_LendingLayout";
Expand Down
30 changes: 16 additions & 14 deletions LibraryDemo/Views/Shared/_LendingLayout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -56,24 +56,26 @@
</div>
</div>
</nav>
<div align="center">
<br />
<form action="@Url.Action("Search", "BookInfo")">
@Html.DropDownList("keyword", new List<SelectListItem>()
{
new SelectListItem("书名", "Name"),
new SelectListItem("ISBN", "ISBN"),
new SelectListItem("索书号", "FetchBookNumber"),
})
<input type="text" name="value"/>
<button type="submit"><span class="glyphicon glyphicon-search"></span></button>
</form>

@if (TempData["message"] != null)
{
<br />
<br/>
<p class="text-success">@TempData["message"]</p>
<br/>
}
<br />
<div align="center">
<form action="@Url.Action("Search","BookInfo")">
@Html.DropDownList("keyword",new List<SelectListItem>()
{
new SelectListItem("书名","Name"),
new SelectListItem("ISBN","ISBN"),
new SelectListItem("索书号","FetchBookNumber"),
})
<input type="text" name="value" />
<button type="submit"><span class="glyphicon glyphicon-search"></span></button>
</form>
</div>
</div>
<partial name="_CookieConsentPartial" />
<div class="container body-content">

Expand Down

0 comments on commit d7a3d18

Please sign in to comment.