summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/components/edit.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/components/edit.html.tmpl')
-rw-r--r--template/en/default/admin/components/edit.html.tmpl66
1 files changed, 4 insertions, 62 deletions
diff --git a/template/en/default/admin/components/edit.html.tmpl b/template/en/default/admin/components/edit.html.tmpl
index 9ddb8ca..be14be0 100644
--- a/template/en/default/admin/components/edit.html.tmpl
+++ b/template/en/default/admin/components/edit.html.tmpl
@@ -33,73 +33,15 @@
[% END %]
[% PROCESS global/header.html.tmpl
title = title
+ yui = [ 'autocomplete' ]
+ javascript_urls = [ "js/field.js" ]
%]
<form method="post" action="editcomponents.cgi">
<table border="0" cellpadding="4" cellspacing="0">
- <tr>
- <td valign="top">Component:</td>
- <td><input size="64" maxlength="64" name="component" value="
- [%- comp.name FILTER html %]"></td>
- </tr>
- <tr>
- <td valign="top">Component Description:</td>
- <td>
- [% INCLUDE global/textarea.html.tmpl
- name = 'description'
- minrows = 4
- cols = 64
- wrap = 'virtual'
- defaultcontent = comp.description
- %]
- </td>
- </tr>
- <tr>
- <td valign="top"><label for="initialowner">Default Assignee:</label></td>
- <td>
- [% INCLUDE global/userselect.html.tmpl
- name => "initialowner"
- id => "initialowner"
- value => comp.default_assignee.login
- size => 64
- %]
- </td>
-
-[% IF Param('useqacontact') %]
- </tr>
- <tr>
- <td valign="top"><label for="initialqacontact">Default QA contact:</label></td>
- <td>
- [% INCLUDE global/userselect.html.tmpl
- name => "initialqacontact"
- id => "initialqacontact"
- value => comp.default_qa_contact.login
- size => 64
- emptyok => 1
- %]
- </td>
-[% END %]
-
- </tr>
- <tr>
- <td valign="top">
- <label for="initialcc">Default CC List:</label>
- </td>
- <td>
- [% INCLUDE global/userselect.html.tmpl
- name => "initialcc"
- id => "initialcc"
- value => initial_cc_names
- size => 64
- multiple => 5
- %]
- <br>
- [% IF !Param("usemenuforusers") %]
- <em>Enter user names for the CC list as a comma-separated list.</em>
- [% END %]
- </td>
- </tr>
+ [% PROCESS "admin/components/edit-common.html.tmpl" %]
+
<tr>
<td>[% terms.Bugs %]:</td>
<td>