mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-02-02 13:07:34 +00:00
add search bar
This commit is contained in:
parent
5eea4787f1
commit
626b027787
1 changed files with 11 additions and 0 deletions
|
@ -1,4 +1,15 @@
|
||||||
@using Microsoft.AspNet.Identity
|
@using Microsoft.AspNet.Identity
|
||||||
|
|
||||||
|
<ul class="nav navbar-nav navbar-right">
|
||||||
|
@using(Html.BeginForm("Search", "Home", FormMethod.Post))
|
||||||
|
{
|
||||||
|
<li><input type="text" name="query" class="form-control navbar-search" /></li>
|
||||||
|
<li><input type="submit" value="Search" class="btn btn-default" /></li>
|
||||||
|
|
||||||
|
}
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
@if (Request.IsAuthenticated)
|
@if (Request.IsAuthenticated)
|
||||||
{
|
{
|
||||||
using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
|
using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
|
||||||
|
|
Loading…
Add table
Reference in a new issue