summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/admin/versions/create.html.tmpl2
-rw-r--r--template/en/default/admin/versions/edit.html.tmpl5
2 files changed, 4 insertions, 3 deletions
diff --git a/template/en/default/admin/versions/create.html.tmpl b/template/en/default/admin/versions/create.html.tmpl
index 8b4ba6473..2b75dabeb 100644
--- a/template/en/default/admin/versions/create.html.tmpl
+++ b/template/en/default/admin/versions/create.html.tmpl
@@ -36,7 +36,7 @@
<tr>
<th align="right"><label for="version">Version:</label></th>
<td><input id="version" size="64" maxlength="64" name="version"
- value=""></td>
+ value="" required autofocus></td>
</tr>
</table>
<input type="submit" id="create" value="Add">
diff --git a/template/en/default/admin/versions/edit.html.tmpl b/template/en/default/admin/versions/edit.html.tmpl
index 497d67e2e..1fc1cc52a 100644
--- a/template/en/default/admin/versions/edit.html.tmpl
+++ b/template/en/default/admin/versions/edit.html.tmpl
@@ -38,8 +38,9 @@
<tr>
<th class="field_label"><label for="version">Version:</label></th>
- <td><input id="version" size="64" maxlength="64" name="version" value="
- [%- version.name FILTER html %]"></td>
+ <td><input id="version" size="64" maxlength="64" name="version"
+ value="[% version.name FILTER html %]" required autofocus>
+
</tr>
<tr>
<th class="field_label"><label for="isactive">Enabled For [% terms.Bugs %]:</label></th>