Sorry, number of things here, is this correct:

```ruby
if transition.templated?
  add_form_transition(transition, transition.method)
elseif transition.templated_url
  @markup_builder.li { super }
end
```