2005-01-24 19:52:04 +01:00
|
|
|
<%
|
|
|
|
@title = "Upload #{@file_name}"
|
|
|
|
@hide_navigatio = false
|
|
|
|
%>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<%= form_tag({}, {:multipart => true}) %>
|
|
|
|
<p>
|
|
|
|
File to upload:
|
|
|
|
<br/>
|
|
|
|
<input type="file" name="file" size="40" />
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<input type="submit" value="Update" /> as
|
|
|
|
<input type="text" name="author" id="authorName" value="<%= @author %>"
|
|
|
|
onClick="this.value == 'AnonymousCoward' ? this.value = '' : true" />
|
|
|
|
<% 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>
|