2005-01-27 04:55:19 +01:00
|
|
|
<p>
|
2006-03-23 05:51:13 +01:00
|
|
|
<%= form_tag({}, { 'multipart' => true, 'accept-charset' => 'utf-8' }) %>
|
2005-01-27 04:55:19 +01:00
|
|
|
<p>
|
|
|
|
File to upload:
|
|
|
|
<br/>
|
|
|
|
<input type="file" name="file" size="40" />
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
System password:
|
|
|
|
<br/>
|
|
|
|
<input type="password" id="system_password" name="system_password" />
|
|
|
|
</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 %>
|
2005-04-07 05:36:12 +02:00
|
|
|
| <%= link_to 'Cancel', :web => @web.address, :action => 'file'%> <small>(unlocks page)</small>
|
2005-01-27 04:55:19 +01:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<%= end_form_tag %>
|
|
|
|
</p>
|