summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/versions/edit.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/versions/edit.html.tmpl')
-rw-r--r--template/en/default/admin/versions/edit.html.tmpl17
1 files changed, 9 insertions, 8 deletions
diff --git a/template/en/default/admin/versions/edit.html.tmpl b/template/en/default/admin/versions/edit.html.tmpl
index ef1fbd270..eff3d92ad 100644
--- a/template/en/default/admin/versions/edit.html.tmpl
+++ b/template/en/default/admin/versions/edit.html.tmpl
@@ -20,15 +20,16 @@
#%]
[%# INTERFACE:
- # name: string; The name of the version
- #
- # product: string; The product the version belongs to
+ # product: object; Bugzilla::Product object representing the product to
+ # which the version belongs.
+ # version: object; Bugzilla::Version object representing the
+ # version the user wants to edit.
#%]
[% PROCESS global/variables.none.tmpl %]
-[% title = BLOCK %]Edit Version '[% name FILTER html %]' of product '
- [%- product FILTER html %]'[% END %]
+[% title = BLOCK %]Edit Version '[% version.name FILTER html %]' of product '
+ [%- product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
%]
@@ -39,14 +40,14 @@
<tr>
<th valign="top"><label for="version">Version:</label></th>
<td><input id="version" size="64" maxlength="64" name="version" value="
- [%- name FILTER html %]"></td>
+ [%- version.name FILTER html %]"></td>
</tr>
</table>
- <input type="hidden" name="versionold" value="[% name FILTER html %]">
+ <input type="hidden" name="versionold" value="[% version.name FILTER html %]">
<input type="hidden" name="action" value="update">
- <input type="hidden" name="product" value="[% product FILTER html %]">
+ <input type="hidden" name="product" value="[% product.name FILTER html %]">
<input type="submit" value="Update">
</form>