* diff_form.ezt: wrap the text associated with the "makepatch" checkbox

in a <label> element, so that users can click on the text to toggle
  the value.
  Quote a few unquoted attribute values.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@901 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/tags/1.0.0-rc1
jhenstridge 2004-07-26 08:17:15 +00:00
parent d906319a8e
commit 85d9d50631
1 changed files with 6 additions and 5 deletions

View File

@ -1,10 +1,10 @@
<a name=diff></a>
<a name="diff"></a>
<hr noshade>
This form allows you to request diffs between any two revisions of
a file. You may select a symbolic revision name using the selection
box or you may type in a numeric name using the type-in text box.
<p>
<form method=get action="[diff_select_action]" name=diff_select>
<form method="get" action="[diff_select_action]" name="diff_select">
[diff_select_hidden_values]
<table border="0" cellpadding="2" cellspacing="0">
@ -41,8 +41,9 @@
</td>
</tr>
<tr>
<td><input type=checkbox name="makepatch" value="1"></td>
<td>Generate output suitable for use with a patch program</td>
<td><input type="checkbox" name="makepatch" id="makepatch" value="1"></td>
<td><label for="makepatch">Generate output suitable for use with a patch
program</label></td>
</tr>
<tr>
<td>&nbsp;</td>
@ -55,7 +56,7 @@
<option value="c" [is diff_format "c"]selected[end]>Context Diff</option>
<option value="s" [is diff_format "s"]selected[end]>Side by Side</option>
</select>
<input type=submit value=" Get Diffs "></form>
<input type="submit" value=" Get Diffs "></form>
</td>
</tr>
</table>