Commit b933a4e9 authored by Sunil Joshi's avatar Sunil Joshi Committed by Simon Green

Bug 332034 - Add New Attachment as an option for attachment.cgi when we are not…

Bug 332034 - Add New Attachment as an option for attachment.cgi when we are not passed any parameters\nr=simon, a=glob
parent 674e7090
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#%] #%]
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = "Locate attachment", title = "Locate or Create Attachment",
onload = "document.forms['choose-id'].id.focus()" onload = "document.forms['choose-id'].id.focus()"
%] %]
...@@ -20,10 +20,16 @@ ...@@ -20,10 +20,16 @@
</form> </form>
<form method="get" action="show_bug.cgi"> <form method="get" action="show_bug.cgi">
<p>Or, access it from the list of attachments in its associated [% terms.bug %] report:</p> <p>Or, Access it from the list of attachments in its associated [% terms.bug %] report:</p>
<p>[% terms.Bug %] ID: <input name="id" size="6"> <p>[% terms.Bug %] ID: <input name="id" size="6">
<input type="submit" name="action" value="View" id="action"> <input type="submit" name="action" value="View" id="action">
</p> </p>
</form> </form>
<form method="get" action="attachment.cgi">
<p>Or, Create a new attachment by entering its [% terms.bug %] Id below:</p>
<p>[% terms.Bug %] ID: <input name="bugid" size="6">
<button name="action" value="enter" id="action">New Attachment</button>
</p>
</form>
[% PROCESS global/footer.html.tmpl %] [% PROCESS global/footer.html.tmpl %]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment