summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/fieldvalues/create.html.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-05-30 21:08:10 +0200
committerlpsolit%gmail.com <>2007-05-30 21:08:10 +0200
commit4e4bfa3f76d565dd27b4d1a8903430b7c0b14140 (patch)
treec80a25bed01ee04643e2d5266795252ca9f475c0 /template/en/default/admin/fieldvalues/create.html.tmpl
parentd67e20bc205e305ed2b086c8a8d144ebab4bbe83 (diff)
downloadbugzilla-4e4bfa3f76d565dd27b4d1a8903430b7c0b14140.tar.gz
bugzilla-4e4bfa3f76d565dd27b4d1a8903430b7c0b14140.tar.xz
Bug 369987: Display real field names in editvalues.cgi - Patch by Frédéric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
Diffstat (limited to 'template/en/default/admin/fieldvalues/create.html.tmpl')
-rw-r--r--template/en/default/admin/fieldvalues/create.html.tmpl15
1 files changed, 9 insertions, 6 deletions
diff --git a/template/en/default/admin/fieldvalues/create.html.tmpl b/template/en/default/admin/fieldvalues/create.html.tmpl
index 29bf85778..9a0ac993e 100644
--- a/template/en/default/admin/fieldvalues/create.html.tmpl
+++ b/template/en/default/admin/fieldvalues/create.html.tmpl
@@ -15,17 +15,20 @@
#%]
[%# INTERFACE:
- # field: string; name of the field the value is being created for
+ # field: object; the field the value is being created for
#%]
-[% title = BLOCK %]Add Value for the '[% field FILTER html %]' field[% END %]
-[% subheader = BLOCK %]This page allows you to add a new value for the
- '[% field FILTER html %]' field.[% END %]
+[% title = BLOCK %]
+ Add Value for the '[% field.description FILTER html %]' ([% field.name FILTER html %]) field
+[% END %]
[% PROCESS global/header.html.tmpl
title = title
- subheader = subheader
%]
+<p>
+ This page allows you to add a new value for the '[% field.description FILTER html %]' field.
+</p>
+
<form method="post" action="editvalues.cgi">
<table border="0" cellpadding="4" cellspacing="0">
<tr>
@@ -41,7 +44,7 @@
</table>
<input type="submit" id="create" value="Add">
<input type="hidden" name="action" value="new">
- <input type="hidden" name='field' value="[% field FILTER html %]">
+ <input type="hidden" name='field' value="[% field.name FILTER html %]">
<input type="hidden" name="token" value="[% token FILTER html %]">
</form>