Skip to content

Commit

Permalink
hide fulltextsearch when user is not logged
Browse files Browse the repository at this point in the history
  • Loading branch information
Monod Olivier authored and Monod Olivier committed Jun 27, 2018
1 parent be5097e commit b1a1cd8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/views/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,14 @@
<a class="navbar-brand" href="{{ url('/') }}"><i class="fa fa-calendar"></i> YVENT</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
@if (Auth::check())
<form class="navbar-form navbar-left">
<div class="form-group">
<input id="eventFulltextSearch" type="text" class="form-control" placeholder="Rechercher...">
</div>
</form>
@endif

<ul class="nav navbar-nav navbar-right">
<!-- Authentication Links -->
<?php //@if (Auth::guest()) ?>
Expand Down

0 comments on commit b1a1cd8

Please sign in to comment.