]> Cypherpunks repositories - gostls13.git/commitdiff
doc/codelab/wiki: rename textarea name from Body to body
authorAndrew Gerrand <adg@golang.org>
Wed, 26 Jan 2011 07:25:37 +0000 (17:25 +1000)
committerAndrew Gerrand <adg@golang.org>
Wed, 26 Jan 2011 07:25:37 +0000 (17:25 +1000)
R=mattn
CC=golang-dev
https://golang.org/cl/4034046

doc/codelab/wiki/edit.html
doc/codelab/wiki/index.html

index 66dfeb511eb62c34ed0cf6c4b25e0d3377550905..7a5768ce96c5f9907b25adc803445aab6e942815 100644 (file)
@@ -1,6 +1,6 @@
 <h1>Editing {Title}</h1>
 
 <form action="/save/{Title}" method="POST">
-<div><textarea name="Body" rows="20" cols="80">{Body|html}</textarea></div>
+<div><textarea name="body" rows="20" cols="80">{Body|html}</textarea></div>
 <div><input type="submit" value="Save"></div>
 </form>
index e4273de7a65148acff2acbf211df74d2dfc9eefe..fe99c32d1edc9b4f4c8ced0051011ce0c829dd9e 100644 (file)
@@ -457,7 +457,7 @@ Open a new file named <code>edit.html</code>, and add the following lines:
 &lt;h1&gt;Editing {Title}&lt;/h1&gt;
 
 &lt;form action=&#34;/save/{Title}&#34; method=&#34;POST&#34;&gt;
-&lt;div&gt;&lt;textarea name=&#34;Body&#34; rows=&#34;20&#34; cols=&#34;80&#34;&gt;{Body|html}&lt;/textarea&gt;&lt;/div&gt;
+&lt;div&gt;&lt;textarea name=&#34;body&#34; rows=&#34;20&#34; cols=&#34;80&#34;&gt;{Body|html}&lt;/textarea&gt;&lt;/div&gt;
 &lt;div&gt;&lt;input type=&#34;submit&#34; value=&#34;Save&#34;&gt;&lt;/div&gt;
 &lt;/form&gt;
 </pre>