<transition-buttons>

Renders a div containing transition buttons for every transition available to the current user.

For example, you could use this on a Friendship card: the person invited to have friendship would automatically see ‘Accept’ and ‘Decline’ buttons, while the person initiating the invite would see ‘Retract’.

This tag behaves similarly to repeat: an else tag may be used to handle the case of no buttons:

<transition-buttons/><else>Sorry, no buttons to press.</else>

Attributes

Ajax attributes are passed through to the individual transition buttons. All other attributes are added to the surrounding div.

Show Source

Related Tags


Edit this page