Browse files

Added form around input/button UI. See #2531170

  • Loading branch information...
1 parent ffaaed8 commit e4c75de5d13151ca649a340b763c08896e36873e @sdesai committed Feb 29, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/attribute/docs/partials/attribute-rw-source.mustache
6 src/attribute/docs/partials/attribute-rw-source.mustache
@@ -1,18 +1,18 @@
-<form id="writeInitial">
+<form id="writeInitial" action="#">
<p>Construct o1, setting initial values for both foo and bar in the constructor: </p>
<label>foo: <input type="text" value="Initial Foo" class="fooVal"></label>
<label>bar: <input type="text" value="Initial Bar" class="barVal"></label>
<button type="submit" class="do">Initial Values</button>
<div class="example-out"></div>
-<form id="writeAgain">
+<form id="writeAgain" action="#">
<p>Try setting values again, after they've been set once: </p>
<label>foo: <input type="text" value="Set Foo Again" class="fooVal"></label>
<label>bar: <input type="text" value="Set Bar Again" class="barVal"></label>
<button type="submit" class="do">Set Again</button>
<div class="example-out"></div>
-<form id="writeInternally">
+<form id="writeInternally" action="#">
<p>Call a MyClass method, which sets foo internally (using _set): </p>
<label>foo: <input type="text" value="Set Foo Internally" class="fooVal"></label>
<button type="submit" class="do">Set Internal</button>

0 comments on commit e4c75de

Please sign in to comment.