summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/components/create.html.tmpl
diff options
context:
space:
mode:
authorTiago Mello <timello@linux.vnet.ibm.com>2010-03-29 14:40:38 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-03-29 14:40:38 +0200
commit4b1eaf48627db9d03e862609ea428f6a4e6f111f (patch)
tree45939d371463bfe4d4a0df55c112e14505645eaf /template/en/default/admin/components/create.html.tmpl
parent1c5cd01eed5bc54774ba4df8ec94124e4594ffc1 (diff)
downloadbugzilla-4b1eaf48627db9d03e862609ea428f6a4e6f111f.tar.gz
bugzilla-4b1eaf48627db9d03e862609ea428f6a4e6f111f.tar.xz
Bug 554552: Refactor classifications and components templates to use edit-common.html.tmpl and add the 'rows' hook
r/a=mkanat
Diffstat (limited to 'template/en/default/admin/components/create.html.tmpl')
-rw-r--r--template/en/default/admin/components/create.html.tmpl62
1 files changed, 3 insertions, 59 deletions
diff --git a/template/en/default/admin/components/create.html.tmpl b/template/en/default/admin/components/create.html.tmpl
index 0b1fd6f57..96c80226c 100644
--- a/template/en/default/admin/components/create.html.tmpl
+++ b/template/en/default/admin/components/create.html.tmpl
@@ -33,65 +33,9 @@
<form method="post" action="editcomponents.cgi">
<table border="0" cellpadding="4" cellspacing="0">
- <tr>
- <th align="right">Component:</th>
- <td><input size="64" maxlength="64" name="component" value=""></td>
- </tr>
- <tr>
- <th align="right">Description:</th>
- <td>
- [% INCLUDE global/textarea.html.tmpl
- name = 'description'
- minrows = 4
- cols = 64
- wrap = 'virtual'
- %]
- </td>
- </tr>
- <tr>
- <th align="right"><label for="initialowner">Default Assignee:</label></th>
- <td>
- [% INCLUDE global/userselect.html.tmpl
- name => "initialowner"
- id => "initialowner"
- value => ""
- size => 64
- %]
- </td>
- </tr>
-[% IF Param('useqacontact') %]
- <tr>
- <th align="right">
- <label for="initialqacontact">Default QA Contact:</label></th>
- <td>
- [% INCLUDE global/userselect.html.tmpl
- name => "initialqacontact"
- id => "initialqacontact"
- value => ""
- size => 64
- emptyok => 1
- %]
- </td>
- </tr>
-[% END %]
- <tr>
- <th align="right">
- <label for="initialcc">Default CC List:</label>
- </th>
- <td>
- [% INCLUDE global/userselect.html.tmpl
- name => "initialcc"
- id => "initialcc"
- value => ""
- 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" %]
+
</table>
<hr>
<input type="submit" id="create" value="Add">