Surrounds an action with arbitrary HTML code.
Class ActionBox( action, [prefix],[postfix] ) from \ Action(( action.prompt, action.level))
action | The action to be surrounded. |
prefix | XHTML code to be inserted before the aciton or nil for none. |
postfix | XHTML code to be inserted after the aciton or nil for none. |
This instance uses the authorization level and prompt of the given action.
Note: Being XHTML text, prefix and postifix are not escaped; be careful.
Methods inherited from class Action | |
allowed | Check if a logged-in user can see this action. |
render | Renders this action. |