2005-01-24 19:52:04 +01:00
|
|
|
<%
|
|
|
|
@title = "Upload #{@file_name}"
|
2005-02-15 23:41:58 +01:00
|
|
|
@hide_navigation = false
|
2005-01-24 19:52:04 +01:00
|
|
|
%>
|
|
|
|
|
|
|
|
<p>
|
2005-02-15 23:41:58 +01:00
|
|
|
<%= form_tag({:controller => 'file', :web => @web_name, :action => 'file'}, {:multipart => true}) %>
|
2005-01-24 19:52:04 +01:00
|
|
|
<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" />
|
|
|
|
</p>
|
|
|
|
<%= end_form_tag %>
|
2005-01-22 15:58:43 +01:00
|
|
|
</p>
|