summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-03-14 20:45:19 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-03-14 20:45:19 +0100
commitc24b099b47056ef264a48197f304ac589171e805 (patch)
treec11f7aef4495b77be02f976dbc0032d0146c79bd /extensions/BMO/template
parentc2458a43c577d205ef565c8e940444c1eb131983 (diff)
downloadbugzilla-c24b099b47056ef264a48197f304ac589171e805.tar.gz
bugzilla-c24b099b47056ef264a48197f304ac589171e805.tar.xz
Bug 847448 - Add url field (bug_file_loc) to form.doc
Diffstat (limited to 'extensions/BMO/template')
-rw-r--r--extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl15
1 files changed, 13 insertions, 2 deletions
diff --git a/extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl
index 7e1341882..37d0fa0f6 100644
--- a/extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl
@@ -42,6 +42,9 @@ function validateAndSubmit() {
yui = [ 'autocomplete', 'datatable', 'button' ]
%]
+[% USE Bugzilla %]
+[% cgi = Bugzilla.cgi %]
+
<h1>Developer Documentation Request</h1>
<p>
@@ -67,7 +70,7 @@ function validateAndSubmit() {
<select name="type" id="type">
<option value="">Please select..</option>
<option value="New Documentation">New Documentation</option>
- <option value="Correction">Correction</option>
+ <option value="Correction" [% "selected" IF cgi.param('bug_file_loc') %]>Correction</option>
</select>
</td>
</tr>
@@ -91,7 +94,7 @@ function validateAndSubmit() {
<td>
Please provide a brief summary of what documentation you're requesting, or
what problem you're reporting in existing documentation:<br>
- <input type="text" name="short_desc" id="short_desc">
+ <input type="text" name="short_desc" id="short_desc" size="60">
</td>
</tr>
@@ -131,6 +134,14 @@ function validateAndSubmit() {
[% END %]
<tr>
+ <th>Page to Update</th>
+ <td>
+ <input type="text" name="bug_file_loc" id="short_desc" size="60"
+ value="[% bug_file_loc FILTER html %]">
+ </td>
+</tr>
+
+<tr>
<th>Technical Contact</th>
<td>
[% INCLUDE global/userselect.html.tmpl