Advertisement
DrupalCustom

FormPage

Jul 31st, 2012
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.26 KB | None | 0 0
  1. ##requireResource("confluence.web.resources:space-admin")
  2. <html>
  3. <head>
  4.    <title>Freeway Project Creation</title>
  5.    <meta name="decorator" content="atl.general" />  
  6.  </head>
  7.  
  8.  <content tag="key">$action.space.key</content>
  9.  
  10. <body>    
  11.  
  12. #applyDecorator("root")
  13.     #decoratorParam("helper" $action.helper)
  14.     #decoratorParam("context" "space-administration")
  15.     #decoratorParam("mode" "view-space-administration")
  16.  
  17.     #applyDecorator ("root")
  18.         #decoratorParam ("context" "spaceadminpanel")
  19.         #decoratorParam ("selection" "add-fpc-label-action-web-ui")
  20.         #decoratorParam ("title" $action.getText("action.name"))
  21.         #decoratorParam ("selectedTab" "admin")
  22.         #decoratorParam("helper" $action.helper)
  23.  
  24.        
  25.        <div >
  26.              <table width="95%" border=0 cellspacing=0 cellpadding=5>
  27.                <form name="createFreewayProject" method="POST" action = "docreateFreewayProject.action?key=$generalUtil.urlEncode($space.key)">
  28.            
  29.             #bodytag( "TextField" "label='Project Name'" "name='name'" "size=40" )
  30.             #param ("labelwidth" "100")
  31.             #param ("tdcolor" "f0f0f0")
  32.               #end
  33.             #bodytag( "TextField" "label='Customer Reference'" "name='customerReference'" "size=40" )
  34.             #param ("labelwidth" "100")
  35.             #param ("tdcolor" "f0f0f0")
  36.               #end
  37.               #bodytag( "TextField" "label='PO Reference'" "name='poReference'" "size=40" )
  38.             #param ("labelwidth" "100")
  39.             #param ("tdcolor" "f0f0f0")
  40.              #end
  41.               #bodytag( "Component" "label='Special Instructions'" "name='specialInstructions'" "template='wiki-textarea.vm'" )
  42.             #param ("labelwidth" "100")
  43.             #param ("tdcolor" "f0f0f0")
  44.             #param ("rows" 6)
  45.             #param ("cols" 50)
  46.            
  47.               #end
  48.        
  49.  
  50.            
  51.             <tr>
  52.                 <td colspan="2" align="center">
  53.                     #tag( "Submit" "name='confirm'" "value='update.name'" "theme='notable'" )
  54.                     #tag( "Submit" "name='cancel'" "value='cancel.name'" "theme='notable'" )
  55.                 </td>
  56.             </tr>
  57.  
  58.         </form>
  59.     </table>
  60. </div>
  61.        
  62.    
  63.        
  64.     #end
  65. #end    
  66. </body>
  67. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement