
<div class="sidebar-nav navbar-collapse">
    <ul class="nav" id="side-menu">


	<li>
	    <a href="{% url 'index' %}?{{ request.GET.urlencode }}"><i class="fa fa-dashboard fa-fw"></i> Dashboard</a>
	</li>

	<li>
		<a href="#"><i class="fa fa-search fa-fw"></i>Busqueda<span class="fa arrow"></span></a>
			
		<ul class="nav nav-second-level collapse in" aria-expanded="true">
		<form role="form" >			
	                <li>
<!--	                        <div class="form-group">-->
<!--	                                {{form.publishers.label_tag}}-->
<!--	                                {{form.publishers}}-->
<!--	                        </div>-->
<!--	                </li>-->

<!--			<li>-->
<!--				<div class="form-group">-->
<!--					{{form.startDate.label_tag}}-->
<!--					{{form.startDate}}-->
<!--				</div>-->
<!--			</li>-->
<!--	                <li>-->
<!--	                        <div class="form-group">-->
<!--	                                {{form.endDate.label_tag}}-->
<!--	                                {{form.endDate}}-->
<!--	                        </div>-->
<!--	                </li>-->
<!--	            	<li>-->
<!--	                        <div class="form-group">-->
<!--	                                {{form.text.label_tag}}-->
<!--	                                {{form.text}}-->
<!--	                        </div>-->
				{{form}}
	                </li>


			<li>
				<button type="submit" class="btn btn-default" style="width:100%;">Buscar</button>
			</li>
		</form>
		</ul>
		
	    <!-- /.nav-second-level -->
	</li>
	<li>
		<a href="#"><i class="fa fa-download fa-fw"></i>Descargar<span class="fa arrow"></span></a>

		<ul class="nav nav-second-level" aria-expanded="true">
			<form role="form">
			        <li>
			               <a href="{% url 'ws-download-news' %}?{{ request.GET.urlencode }}&format=JSON" target="blank">JSON</a>
			        </li>

				<li>
			      		<a href="{% url 'ws-download-news' %}?{{ request.GET.urlencode }}&format=CSV" target="blank">CSV</a>
				</li>


			</form>
		</ul>
	</li>
	
    </ul>
</div>
<!-- /.sidebar-collapse -->

