tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject [5/6] git commit: Improve the layout of the demo page
Date Mon, 01 Sep 2014 23:18:45 GMT
Improve the layout of the demo page


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/8a10194a
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/8a10194a
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/8a10194a

Branch: refs/heads/master
Commit: 8a10194ae4293e75981c47f0f38d1892516cbe65
Parents: 014d739
Author: Howard M. Lewis Ship <hlship@apache.org>
Authored: Mon Sep 1 16:00:32 2014 -0700
Committer: Howard M. Lewis Ship <hlship@apache.org>
Committed: Mon Sep 1 16:00:32 2014 -0700

----------------------------------------------------------------------
 .../src/test/app1/MultiZoneUpdateInsideForm.tml | 32 ++++++++++++--------
 1 file changed, 19 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/8a10194a/tapestry-core/src/test/app1/MultiZoneUpdateInsideForm.tml
----------------------------------------------------------------------
diff --git a/tapestry-core/src/test/app1/MultiZoneUpdateInsideForm.tml b/tapestry-core/src/test/app1/MultiZoneUpdateInsideForm.tml
index 5334b34..f2cb425 100644
--- a/tapestry-core/src/test/app1/MultiZoneUpdateInsideForm.tml
+++ b/tapestry-core/src/test/app1/MultiZoneUpdateInsideForm.tml
@@ -1,17 +1,23 @@
 <t:border xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd">
 
-  <h1>Multi Zone Update Inside Form Demo</h1>
+    <h1>Multi Zone Update Inside Form Demo</h1>
 
-  <form t:type="Form" t:id="form" t:clientValidation="none" action="#">
-    <t:label for="selectValue1"/>
-    <select t:type="Select" t:id="selectValue1" t:validate="required" t:zone="select1ValueZone"
t:context="selectContext"/>
-    <t:zone t:id="select1ValueZone" visible="false">Show</t:zone>
-    <t:zone t:id="select2ValueZone">
-      <t:label for="selectValue2"/>
-      <!-- Only necessary to "lock down" the clientId to facilliate the test. -->
-      <select t:type="Select" t:id="selectValue2" clientId="selectValue2" t:validate="required"/>
-    </t:zone>
-    <br/>
-    <input type="submit" value="Upate Form"/>
-  </form>
+    <form t:type="Form" t:id="form" t:clientValidation="none" action="#">
+        <div class="form-group">
+            <t:label for="selectValue1"/>
+        </div>
+        <select t:type="Select" t:id="selectValue1" t:validate="required" t:zone="select1ValueZone"
+                t:context="selectContext"/>
+        <t:zone t:id="select1ValueZone" visible="false">Show</t:zone>
+        <t:zone t:id="select2ValueZone">
+            <div class="form-group">
+                <t:label for="selectValue2"/>
+                <!-- Only necessary to "lock down" the clientId to facilliate the test.
-->
+                <select t:type="Select" t:id="selectValue2" clientId="selectValue2" t:validate="required"/>
+            </div>
+        </t:zone>
+        <div class="form-group">
+            <input type="submit" value="Update Form" class="bt btn-primary"/>
+        </div>
+    </form>
 </t:border>
\ No newline at end of file


Mime
View raw message