#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale))

#if ($!folderBean.isNew())

#else
<h2 class="portlet-section-header">$MESSAGES.getString('folder.details')</h2>

<form action="$renderResponse.createActionURL()" method="post">
<input type='hidden' name='portlet.action' value='processSaveFolderAction'/>
<table>
    #formField('Title' "$!folderBean.Title" "40" 'title' $MESSAGES $ERRORS)
</table>
<br/>
<input type="submit" name="Save" value="$MESSAGES.getString('save')" />
<a href="<bf:forward view='add-page'/>">$MESSAGES.getString('add.page')</a>
<a href="<bf:forward view='add-subfolder'/>">$MESSAGES.getString('add.subfolder')</a>
<a href="<bf:forward view='add-docset'/>">$MESSAGES.getString('add.docset')</a>
</form>

#ErrorMessages($ERRORS)
#end