I was looking for a way to use the <transition-buttons/> tag but still override the label ala <transition-button transition="some_path" label="my awesome label"/>. I think it would be great if the transition declaration in the model accepted a :label attribute for the case where you always want to override the transition button's label. I tried many permutations of opening the transition-buttons tag and trying to declare the label like you would in a field-list, but I couldn't find a way to get it to work. (And after peeking at the source, I'm pretty sure this is impossible as I believe the only merge is for adding css attributes to the div container).
Thanks. p.s. I also ran into a problem I couldn't track down where using the plural transition-buttons tag with an :available_to of "acting_user if acting_user.signed_up?" would throw an error trying to call signed_up? on nil:nilClass. My best guess was a scoping problem as it looks like it gets thrown from __top_level_eval__ in the run_hook lifecycle method. I haven't filed a bug since I couldn't figure out what the issue really was....if anyone can confirm this I'll file a bug on lighthouse. -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
