trac-ticketlinks / templates / attachment.cs

<?cs set:html.stylesheet = 'css/code.css' ?>
<?cs include "header.cs" ?>
<?cs include "macros.cs" ?>

<div id="ctxtnav" class="nav"></div>

<div id="content" class="attachment">

 <h3>Add Attachment to <a href="<?cs
   var:file.attachment_parent_href?>"><?cs var:file.attachment_parent?></a></h3>
 <form id="attachment" method="post" enctype="multipart/form-data" action="<?cs
   var:cgi_location ?>">
  <div class="field">
   <label for="file">File:</label>
   <input type="file" id="file" name="attachment" />
   <legend>Attachment Info</legend>
   <div class="field">
    <label for="author">Your email or username:</label><br />
    <input type="text" id="author" name="author" class="textwidget" size="30"
        value="<?cs>" />
   <div class="field">
    <label for="description">Description of the file (optional):</label><br />
    <input type="text" id="description" name="description" class="textwidget"
        size="60" />
   </div><br />
  <div class="buttons">
   <input type="hidden" name="mode" value="attachment" />
   <input type="hidden" name="type" value="<?cs var:attachment.type ?>" />
   <input type="hidden" name="id" value="<?cs ?>" />
   <input type="submit" value="Add Attachment" />
   <input type="submit" name="cancel" value="Cancel" />

<?cs include "footer.cs"?>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.