Commit c7588ede authored by Simon Daron's avatar Simon Daron Committed by fred
Browse files

replace newsitem nav by a search form

parent 47725e51
{% load paniktags %}
<div class="wrapper">
<nav class="mainSub">
<ul class="inline padded">
<li><a href="{% url 'news' %}" class="{% if class != "archives" %}active{% endif %}">
<span class="icon-bolt" ></span>
<span class="iconLabel">Dernières</span>
<li><a href="{% url 'newsArchives' %}" class="{% if class = "archives" %}active{% endif %}">
<span class="icon-archive" ></span>
<span class="iconLabel">Archives</span>
<div class="mainSub">
<div class="wrapper">
<form method="get" action="." class="big marged" id="search-form">
<label for="id_q">Rechercher:</label><input id="id_q" name="q" type="text"><button class="icon-search"></button>
TODO make requests to load specific news roll & compagnie from groups
<div class="wrapper">
{% if categories %}
<nav id="newsNav" class="checkable">
<ul class="by{{ categories.count }}">
{% for category in categories %}
<li><a href="#">{{ category }}</a></li>
{% endfor %}
{% endif %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment