choose.html.tmpl 1.32 KB
Newer Older
1 2 3
[%# 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/.
4
  #
5 6
  # This Source Code Form is "Incompatible With Secondary Licenses", as
  # defined by the Mozilla Public License, v. 2.0.
7 8 9
  #%]

[% PROCESS global/header.html.tmpl
10 11
   title = "Locate or Create Attachment"
%]
12

13
<form name="choose-id" method="get" action="attachment.cgi">
14
  <p>Access an attachment by entering its ID into the form below:</p>
15
  <p>Attachment ID: <input name="id" size="6" autofocus required>
16
  <button name="action" value="edit" id="edit">Details</button>
17
  <button name="action" value="view" id="view">View</button>
18 19 20 21
  </p>
</form>

<form method="get" action="show_bug.cgi">
22
  <p>Or, Access it from the list of attachments in its associated [% terms.bug %] report:</p>
23
  <p>[% terms.Bug %] ID: <input name="id" size="6" required>
24
  <input type="submit" name="action" value="View" id="action">
25 26 27
  </p>
</form>

28 29
<form method="get" action="attachment.cgi">
  <p>Or, Create a new attachment by entering its [% terms.bug %] Id below:</p>
30
  <p>[% terms.Bug %] ID: <input name="bugid" size="6" required>
31 32 33
    <button name="action" value="enter" id="action">New Attachment</button>
  </p>
</form>
34
[% PROCESS global/footer.html.tmpl %]