#set ($confPage = $action.page) #set ($labels = $attachment.labels) #set ($labelable = $attachment) $i18n.getText("properties.attachment", ["$htmlUtil.htmlEncode($newFileName)"]) #applyDecorator("root") #decoratorParam("helper" $action.helper) #decoratorParam("mode" "view-attachment") #decoratorParam("context" "$action.page.type") #requireResource("confluence.web.resources:attachments")
#form_xsrfToken() #tag ("Hidden" "name='pageId'" "value='$pageId'") #tag ("Hidden" "name='isFromPageView'" "value='$isFromPageView'")
#fielderror ('rename') #bodytag ( "TextField" "label='file.name'" "name='newFileName'" "theme='aui'") #param ("tabindex" "1") #end
#parse("/com/atlassian/confluence/plugins/labels/components/labels-content.vm")
#fielderror ('newComment') #bodytag ( "TextField" "label='new.comment'" "name='newComment'" "theme='aui'") #param ("tabindex" "2") #param ("maxlength" "255") #end
#fielderror ('newContentType') #bodytag ( "TextField" "label='new.contentType'" "name='newContentType'""theme='aui'") #param ("tabindex" "3") #param ("maxlength" "255") #end
#fielderror ('move') #bodytag ( "TextField" "label='page.word'" "name='newParentPage'" "theme='aui'") #param ("tabindex" "4") #param ("maxlength" "255") #param ("description" "$action.getText('move.attachment.desc')") #end
#bodytag("Submit" "theme='aui'") #param("submitValue" "$i18n.getText('save.name')") #param ("editMode" "true") #param ("tabindex" "5") #end
#end