mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-02-02 13:07:34 +00:00
Fix search UI
This commit is contained in:
parent
b773d7e6b8
commit
01f61b8039
1 changed files with 8 additions and 8 deletions
|
@ -1,13 +1,5 @@
|
||||||
@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)
|
||||||
|
@ -58,3 +50,11 @@ else
|
||||||
<li>@Html.ActionLink("Log in", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })</li>
|
<li>@Html.ActionLink("Log in", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })</li>
|
||||||
</ul>
|
</ul>
|
||||||
}
|
}
|
||||||
|
<ul class="nav navbar-nav navbar-right">
|
||||||
|
@using (Html.BeginForm("Search", "Home", FormMethod.Post))
|
||||||
|
{
|
||||||
|
<li><input type="text" name="query" class="navbar-search" /></li>
|
||||||
|
<li><input type="submit" value="Search" class="btn btn-default" /></li>
|
||||||
|
|
||||||
|
}
|
||||||
|
</ul>
|
||||||
|
|
Loading…
Add table
Reference in a new issue