Commits

plightbo  committed 6c08e26

make sure the div and the button are flush

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@493573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits 8f617ae

Comments (0)

Files changed (4)

File src/java/template/simple/submit.vm

 #if ($parameters.nameValue)  value="$!webwork.htmlEncode($parameters.nameValue)"     #end
 #if ($parameters.cssClass)   class="$!webwork.htmlEncode($parameters.cssClass)"      #end
 #if ($parameters.cssStyle)   style="$!webwork.htmlEncode($parameters.cssStyle)"      #end
-/>
+/>

File src/java/template/xhtml/submit.vm

 <tr>
     <td colspan="2">
-<div #if ($parameters.align) align="$!webwork.htmlEncode($parameters.align)" #end >
-#parse("/template/simple/submit.vm")
-</div>
+<div #if ($parameters.align) align="$!webwork.htmlEncode($parameters.align)" #end
+>#parse("/template/simple/submit.vm")</div>
 #parse( "/template/xhtml/controlfooter.vm" )

File src/test/com/opensymphony/webwork/views/jsp/ui/Submit-1.txt

 <tr>
-    <td colspan="2"> <div align="left" > <input type="submit" name="myname" value="bar" /> </div> </td>
+    <td colspan="2"> <div align="left" ><input type="submit" name="myname" value="bar" /></div> </td>
 </tr>

File src/test/com/opensymphony/webwork/views/jsp/ui/Submit-2.txt

 <tr>
-    <td colspan="2"> <div align="right" > <input type="submit" name="myname" value="Submit" /> </div> </td>
+    <td colspan="2"> <div align="right" ><input type="submit" name="myname" value="Submit" /></div> </td>
 </tr>