summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/keywords/edit.html.tmpl
blob: f8b74ab21b793587f41df933b8bac9a5c5285b46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[%# This Source Code Form is subject to the terms of the Mozilla Public
  # License, v. 2.0. If a copy of the MPL was not distributed with this
  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  #
  # This Source Code Form is "Incompatible With Secondary Licenses", as
  # defined by the Mozilla Public License, v. 2.0.
  #%]

[%# INTERFACE:
  # keyword: A Bugzilla::Keyword object.
  #%]

[% PROCESS global/header.html.tmpl
  title = "Edit keyword"
%]

<form method="post" action="editkeywords.cgi">
  <table border="0" cellpadding="4" cellspacing="0">
    <tr>
      <th>Name:</th>
      <td><input size="64" maxlength="64" name="name" 
                 value="[% keyword.name FILTER html %]"></td>
    </tr>
    <tr>
      <th>Description:</th>
      <td>
        [% INCLUDE global/textarea.html.tmpl
          name           = 'description'
          minrows        = 4
          cols           = 64
          wrap           = 'virtual'
          defaultcontent = keyword.description
        %]
      </td>
    </tr>
    <tr>
      <th>[% terms.Bugs %]:</th>
      <td>
        [% IF keyword.bug_count > 0 %]
          <a href="buglist.cgi?keywords=[% keyword.name FILTER uri %]">
            [% keyword.bug_count FILTER html %]</a>
        [% ELSE %]
          none
        [% END %]
      </td>
    </tr>
  </table>

  <input type="submit" id="update" value="Save Changes">
  <input type="hidden" name="action" value="update">
  <input type="hidden" name="id" value="[% keyword.id FILTER html %]">
  <input type="hidden" name="token" value="[% token FILTER html %]">
</form>

<p><a href="editkeywords.cgi">Edit other keywords</a>.</p>

[% PROCESS global/footer.html.tmpl %]