diff options
Diffstat (limited to 'template/en/default/attachment/choose.html.tmpl')
-rw-r--r-- | template/en/default/attachment/choose.html.tmpl | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/template/en/default/attachment/choose.html.tmpl b/template/en/default/attachment/choose.html.tmpl index 9a82d7c86..f20facd90 100644 --- a/template/en/default/attachment/choose.html.tmpl +++ b/template/en/default/attachment/choose.html.tmpl @@ -7,13 +7,12 @@ #%] [% PROCESS global/header.html.tmpl - title = "Locate or Create Attachment", - onload = "document.forms['choose-id'].id.focus()" - %] + title = "Locate or Create Attachment" +%] <form name="choose-id" method="get" action="attachment.cgi"> <p>Access an attachment by entering its ID into the form below:</p> - <p>Attachment ID: <input name="id" size="6"> + <p>Attachment ID: <input name="id" size="6" autofocus required> <button name="action" value="edit" id="edit">Details</button> <button name="action" value="view" id="view">View</button> </p> @@ -21,14 +20,14 @@ <form method="get" action="show_bug.cgi"> <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" required> <input type="submit" name="action" value="View" id="action"> </p> </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"> + <p>[% terms.Bug %] ID: <input name="bugid" size="6" required> <button name="action" value="enter" id="action">New Attachment</button> </p> </form> |