{% extends "users/partials/profile/section.html" %}

{% block section_content %}

{% for follow in follows.follows %}
<a href="{% url 'group_detail' group_slug=follow.group.slug %}"
   class="group block item rightarrow"
   {% if forloop.counter > follows.chunk_size %}style="display: none;"{% endif %}
   data-class="user-profile-group-row">
   <div class="row"><div class="col-xs-12">{{ follow.group.name }}</div></div>
</a>
{% endfor %}

{% if follows.hidden_count > 0 %}
<a data-class="user-profile-groups-show-all"
   href="#">+{{ follows.hidden_count }} more group{{ hidden_count|pluralize }}</a>
{% endif %}

{% endblock section_content %}

{% extends "users/partials/profile/section.html" %}

{% block section_content %}

{% for follow in follows.follows %}
<a href="{% url 'group_detail' group_slug=follow.group.slug %}"
   class="group block item rightarrow"
   {% if forloop.counter > follows.chunk_size %}style="display: none;"{% endif %}
   data-class="user-profile-group-row">
   <div class="row"><div class="col-xs-12">{{ follow.group.name }}</div></div>
</a>
{% endfor %}

{% if follows.hidden_count > 0 %}
<a data-class="user-profile-groups-show-all" href="javascript:;" class="group block item">
   <div class="row"><div class="col-xs-12">+{{ follows.hidden_count }} more group{{ follows.hidden_count|pluralize }}</div></div>
</a>
{% endif %}

{% endblock section_content %}

Fix group list expansion styling on profile page
Fix group list expansion styling on profile page

I copied the style of the other rows to fix a whitespace problem, and
fixed a bug in the pluralization filter.
