<div class="pure-g">
  <div class="pure-u-1">
    <div class="pure-button-group" role="nav" style="padding: 1em 0 0;">
    % for target in ("trend", "products", "categories", "groups", "tags"):
    %   disabled = 'disabled="true"' if target == action else ''
    %   label = target.title()
      <button class="button-resize pure-button" type="submit" formaction="{{target}}" {{!disabled}}> {{label}} </button>
    % end
    </div>
  </div>
</div>