{% extends "cloud_notes/notes_base.html" %}
{% block content %}

<h1>Hash Tags</h1>

<div>
  <ul>
    {% for tag in tags%}
    <li>{{ tag.hash_tag }}</li>
		<ul>
		{% for note in tag.notes.all %}
			{% if note.folder.name != 'Trash' %}
				{% ifchanged note.folder.name %}
				
					{% if not forloop.first %}
						</ul>
					{% endif %}
					<li>{{note.folder.name}}</li>
						<ul>
				{% endifchanged %}
				<li>({{note.id}}) <a href="{% url 'cloud_notes.views.preview' note.id %}">{{note.title}}</a></li>
			{% endif %}
		{% endfor %}
			</ul> <!-- folder group -->
		</ul>
	{% endfor %}
  </ul>

</div>

{% endblock %}

{% extends "cloud_notes/notes_base.html" %}
{% block content %}

<h1>Hash Tags</h1>

<div>
  <ul>
    {% for tag in tags%}
    <li>{{ tag.hash_tag }}</li>
		<ul>
		{% for note in tag.notes.all %}
			{% if note.folder.name != 'Trash' %}
				<li>({{note.id}}) <a href="{% url 'cloud_notes.views.preview' note.id %}">{{note.title}}</a> [ {{note.folder.name}} ]</li>
			{% endif %}
		{% endfor %}
		</ul>
	{% endfor %}
  </ul>

</div>

{% endblock %}

Fix hash tags template formatting
Fix hash tags template formatting
