{% extends 'base/base.html' %}
{% block content %}
{% from 'follow/_macro.html' import nav_title %}
{{ breadcrumb(active=_('Following Tags'))}}
<div class="row">
  <div class="col-md-9">
    {{ nav_title('tag') }}
    <div class="panel panel-default">
      {% for tag in tags.items %}
      <div class="panel-body" style="border-bottom:1px solid #eee">
        <h4>{{ link.tag(tag)}}</h4>
        <button class="btn btn-sm btn-default tag-following pull-right active" data-id="{{ tag.id}}" style="padding:0 5px">取消关注</button>
        <small>{{ tag.description }}</small>
      </div>
      {% else %}
      {% include 'follow/none.html' %}
      {% endfor  %}
      {{ p_footer(tags,'follow.tag')}}
    </div>
  </div>
  <div class="col-md-3" style="padding-left:0">
    {{ panel_base.follow() }}
  </div>
</div>
{% endblock %}
