thanks sergiu
On Thu, Jan 6, 2011 at 06:54, sdumitriu <platform-notifications(a)xwiki.org>wrote;wrote:
Author: sdumitriu
Date: 2011-01-06 05:54:21 +0100 (Thu, 06 Jan 2011)
New Revision: 33834
Modified:
platform/web/trunk/standard/src/main/webapp/templates/createinline.vm
Log:
XWIKI-5855: Make create templates compliant with our vertical forms
standard
Revert a change which makes the HTML invalid (the <form> element accepts
only block level elements, and <input> are inline elements)
Modified:
platform/web/trunk/standard/src/main/webapp/templates/createinline.vm
===================================================================
--- platform/web/trunk/standard/src/main/webapp/templates/createinline.vm
2011-01-06 04:49:30 UTC (rev 33833)
+++ platform/web/trunk/standard/src/main/webapp/templates/createinline.vm
2011-01-06 04:54:21 UTC (rev 33834)
@@ -175,6 +175,7 @@
## Display the form.
##
---------------------------------------------------------------------------------------------------------
<form action="$doc.getURL('create')" method="post"
class="xform third">
+ <div>
<input type="hidden" name="tocreate"
value="$tocreate"/>
#if($tocreate == 'page')
##
---------------------------------------------------------------------------------------------------------
@@ -310,4 +311,5 @@
<input type="submit" class="button"
value="$msg.get('create')"/>
</span>
</div>
+ </div>
</form>
\ No newline at end of file
_______________________________________________
notifications mailing list
notifications(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications