1
0
mirror of https://github.com/golang/go synced 2024-11-21 20:54:45 -07:00

doc/codelab/wiki: rename textarea name from Body to body

R=mattn
CC=golang-dev
https://golang.org/cl/4034046
This commit is contained in:
Andrew Gerrand 2011-01-26 17:25:37 +10:00
parent add4e167e3
commit 549d7f49d5
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<h1>Editing {Title}</h1> <h1>Editing {Title}</h1>
<form action="/save/{Title}" method="POST"> <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> <div><input type="submit" value="Save"></div>
</form> </form>

View 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;h1&gt;Editing {Title}&lt;/h1&gt;
&lt;form action=&#34;/save/{Title}&#34; method=&#34;POST&#34;&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;div&gt;&lt;input type=&#34;submit&#34; value=&#34;Save&#34;&gt;&lt;/div&gt;
&lt;/form&gt; &lt;/form&gt;
</pre> </pre>