<div class="tags hidden-xs">
    <div class="tagtest">
    @if(Auth::check())
    <ul class="nav navbar-nav info-nav">
    <label for="tag-add-toggle">
    <li id="tagadder" class="addtagsy">+ Add Tag <i class="fa fa-tag" aria-hidden="true"></i> </li>
    </label>    
    <li class="addtagsy"><a href="/irc">IRC </a></li>
    <li class="addtagsy"><a href="/about">About </a></li>
    <li class="addtagsy"><a href="/contact">Contact </a></li>
    <li class="addtagsy"><a href="/rules">Rules </a></li>
    <li class="addtagsy"><a href="/stats">Stats</a></li>
    </ul>
    <input type="checkbox" id="tag-add-toggle">
    <div id="tag-add">
    <div class="input-group" style="margin-top: 4px;">
        {{--<select multiple name="tags[]" data-role="tagsinput" class="form-control"></select>--}}
            <input id="tags" type="text" class="form-control" placeholder="Input tags…" name="tags" data-role="tagsinput">
            <span class="input-group-btn">
		<button href="/{{$video->id}}/tag" id="submittags" type="submit" class="form-control btn-primary">Submit</button>
	    </span>
    </div>
        </div>
	@else
	<ul class="nav navbar-nav info-nav">
            <li class="addtagsy"><a href="/irc">IRC </a></li>
            <li class="addtagsy"><a href="/about">About </a></li>
	    <li class="addtagsy"><a href="/contact">Contact </a></li>
	    <li class="addtagsy"><a href="/rules">Rules </a></li>
	    <li class="addtagsy"><a href="/stats">Stats</a></li>
	</ul>
        @endif

    </div>
    <div class="toggo tag-panel-body" style="">
        <div id="tag-display" class="tag-panel-body">
            @if(count($video->tags))
                @foreach($video->tags as $tag)
                    <span class="label label-default"><a href="/index?q={{$tag->normalized}}" class="default-link">{{$tag->name}}</a>@if(Auth::check() && Auth::user()->can('edit_video')) <a class="delete-tag default-link" href="#"><i class="fa fa-times"></i></a>@endif</span>
                @endforeach
            @else
                No tags yet ...
            @endif
        </div>
    </div>
</div>
