% setdefault('style', '')
<div class="pure-button-group vertical-button-group" role="{{role}}" style="padding: 1em 0.25em 0;">
% for target in targets:
%   active = 'pure-button-active' if target == action else ''
%   label = target.title()
  <button
    class="pure-button {{active}}"
    type="submit"
    formaction="{{target}}"
    style="{{style}}"
  > {{label}} </button>
% end
</div>