Sha256: 6e3a44bf9c06ea6639b2ddef013d77ce8acc2e55679274109bf30182ac9627c6

Contents?: true

Size: 714 Bytes

Versions: 33

Compression:

Stored size: 714 Bytes

Contents

<!-- Displays a link to a lifecycle transition page if the transition is valid.  If the transition is valid, this is equivalent to:

    <a action="&transition" ...

If the transition is invalid, you may use the `<else>` tag to display an appropriate message:

    <transition-link transition="mogrify">Mogrify</transition-link>
    <else>Cannot mogrify</else>

### Attributes

All attributes and parameters for the `<a>` tag are also valid.

 - `transition` - the name of the transition to invoke. Required
  -->
<def tag="transition-link" attrs="transition"><%
    trans = this.lifecycle.find_transition(transition, current_user) %>
    <if test="&trans">
      <a action="&transition" merge/>
    </if>
</def>

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
hobo_rapid-2.2.6 taglibs/buttons/transition_link.dryml
hobo_rapid-2.2.5 taglibs/buttons/transition_link.dryml
hobo_rapid-2.2.4 taglibs/buttons/transition_link.dryml
hobo_rapid-2.2.3 taglibs/buttons/transition_link.dryml
hobo_rapid-2.2.2 taglibs/buttons/transition_link.dryml
hobo_rapid-2.2.1 taglibs/buttons/transition_link.dryml
hobo_rapid-2.2.0 taglibs/buttons/transition_link.dryml
hobo_rapid-2.1.2 taglibs/buttons/transition_link.dryml
hobo_rapid-2.1.1 taglibs/buttons/transition_link.dryml
hobo_rapid-2.1.0 taglibs/buttons/transition_link.dryml
hobo_rapid-2.1.0.pre4 taglibs/buttons/transition_link.dryml
hobo_rapid-2.1.0.pre3 taglibs/buttons/transition_link.dryml
hobo_rapid-2.1.0.pre2 taglibs/buttons/transition_link.dryml
hobo_rapid-2.1.0.pre1 taglibs/buttons/transition_link.dryml
hobo_rapid-2.0.1 taglibs/buttons/transition_link.dryml
hobo_rapid-2.0.0 taglibs/buttons/transition_link.dryml
hobo_rapid-2.0.0.pre10 taglibs/buttons/transition_link.dryml
hobo_rapid-2.0.0.pre9 taglibs/buttons/transition_link.dryml
hobo_rapid-2.0.0.pre8 taglibs/buttons/transition_link.dryml
hobo_rapid-2.0.0.pre7 taglibs/buttons/transition_link.dryml