move tooltip to a wrapper
{% if each_authorization.about_to_expire or not each_authorization.is_valid %}
{% if each_authorization.latest_app and not each_authorization.open_app %}
{% comment %} Translators: Hovertext for when renewals for a partner is not available and the renew button is disabled. {% endcomment %}
- <a href="{% url 'applications:renew' each_authorization.latest_app.pk %}" class="btn btn-primary pull-right {% if not each_authorization.partner.renewals_available %}disabled{% endif %}" role="button" {% if not each_authorization.partner.renewals_available %}title="{% trans 'Renewals are not available for this partner' %}"{% endif %}>
+ <span class="pull-right" {% if not each_authorization.partner.renewals_available %}title="{% trans 'Renewals are not available for this partner' %}"{% endif %}>
+ <a href="{% url 'applications:renew' each_authorization.latest_app.pk %}" class="btn btn-primary pull-right {% if not each_authorization.partner.renewals_available %}disabled{% endif %}" role="button">
{% comment %} Translators: Labels the button that links to the renewal url. {% endcomment %}
{% trans 'Renew' %}
</a>
+ </span>
<div class="clearfix"></div>
{% endif %}
{% endif %}
