Commit a68d8e88 authored by jocuri%softhome.net's avatar jocuri%softhome.net

Bug 227979: Editkeywords.cgi HTML validation; r=kiko; a=justdave.

parent bcccebe2
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
<form method="post" action="editkeywords.cgi"> <form method="post" action="editkeywords.cgi">
<table border="0" cellpadding="4" cellspacing="0"> <table border="0" cellpadding="4" cellspacing="0">
<input type="hidden" name="id" value="-1">
<tr> <tr>
<th align="right">Name:</th> <th align="right">Name:</th>
<td><input size="64" maxlength="64" name="name" value=""></td> <td><input size="64" maxlength="64" name="name" value=""></td>
...@@ -45,6 +44,7 @@ ...@@ -45,6 +44,7 @@
</tr> </tr>
</table> </table>
<hr> <hr>
<input type="hidden" name="id" value="-1">
<input type="submit" value="Add"> <input type="submit" value="Add">
<input type="hidden" name="action" value="new"> <input type="hidden" name="action" value="new">
</form> </form>
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
<form method="post" action="editkeywords.cgi"> <form method="post" action="editkeywords.cgi">
<table border="0" cellpadding="4" cellspacing="0"> <table border="0" cellpadding="4" cellspacing="0">
<input type="hidden" name="id" value="[% keyword_id %]">
<tr> <tr>
<th align="right">Name:</th> <th align="right">Name:</th>
<td><input size="64" maxlength="64" name="name" value="[% name FILTER html %]"></td> <td><input size="64" maxlength="64" name="name" value="[% name FILTER html %]"></td>
...@@ -61,6 +60,7 @@ ...@@ -61,6 +60,7 @@
<input type="submit" value="Update"> <input type="submit" value="Update">
<input type="hidden" name="action" value="update"> <input type="hidden" name="action" value="update">
<input type="hidden" name="id" value="[% keyword_id %]">
</form> </form>
<p><a href="editkeywords.cgi">Edit other keywords</a>.</p> <p><a href="editkeywords.cgi">Edit other keywords</a>.</p>
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<tr> <tr>
<td valign="top" colspan="3">Add a new keyword</td> <td valign="top" colspan="3">Add a new keyword</td>
<td><a href="editkeywords.cgi?action=add">Add</td> <td><a href="editkeywords.cgi?action=add">Add</a></td>
</tr> </tr>
[% PROCESS table_footer %] [% PROCESS table_footer %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment