<div class="buttons clearfix">
  <div class="pull-right">
    {% for button in buttons %}
    <a href="{{ button.link }}" class="btn btn-primary">{{ button.text }}</a>
    {% endfor %}
  </div>
</div>