2005-01-22 19:38:16 +01:00
|
|
|
<%
|
|
|
|
@title = "Upload #{@file_name}"
|
|
|
|
@hide_navigatio = false
|
|
|
|
%>
|
|
|
|
|
2005-01-22 15:58:43 +01:00
|
|
|
<p>
|
2005-01-22 19:38:16 +01:00
|
|
|
<%= form_tag({}, {:multipart => true}) %>
|
|
|
|
<p>
|
|
|
|
File to upload:
|
|
|
|
<br/>
|
2005-01-23 17:34:27 +01:00
|
|
|
<input type="file" name="file" size="40" />
|
2005-01-22 19:38:16 +01:00
|
|
|
</p>
|
|
|
|
<p>
|
2005-01-23 17:34:27 +01:00
|
|
|
<input type="submit" value="Update" /> as
|
2005-01-22 19:38:16 +01:00
|
|
|
<input type="text" name="author" id="authorName" value="<%= @author %>"
|
2005-01-23 17:34:27 +01:00
|
|
|
onClick="this.value == 'AnonymousCoward' ? this.value = '' : true" />
|
2005-01-22 19:38:16 +01:00
|
|
|
<% if @page %>
|
|
|
|
| <a href="../file/">Cancel</a> <small>(unlocks page)</small>
|
|
|
|
<% end %>
|
|
|
|
</p>
|
|
|
|
<%= end_form_tag %>
|
2005-01-22 15:58:43 +01:00
|
|
|
</p>
|