$action.getText("title.user.macros.edit")

#parse ( "/template/includes/actionerrors.vm" )
#form_xsrfToken()

#tag( "Hidden" "name='originalName'" "value=originalName" ) #bodytag( "TextField" "label='user.macro.name'" "name='userMacro.name'" "value=userMacro.name" "size=10") #param("description" "converted.to.lowercase") #end
| #tag( "Checkbox" "label='user.macro.hasbody'" "name='userMacro.hasBody'" "value=userMacro.hasBody" "theme='notable'" "onclick='toggleMacroBody()'") #tag( "Select" "id='userMacro.bodyType'" "label='user.macro.body.type'" "name='userMacro.bodyType'" "theme='notable'" "value=userMacro.bodyType" "list=bodyTypes" "listKey=key" "listValue=value")
#tag( "Select" "label='user.macro.output.type'" "name='userMacro.outputType'" "value=userMacro.outputType" "list=outputTypes" "listKey=key" "listValue=value")
#tag( "Textarea" "label='user.macro.template'" "name='userMacro.template'" "rows=15" "cols=50" )
#tag( "Submit" "name='update'" "value='update.name'" "theme='notable'" ) #tag( "Submit" "name='cancel'" "value='cancel.name'" "theme='notable'" )

#parse("/breadcrumbs.vm")