2007-01-22 07:43:50 -06:00
|
|
|
<p>
|
2007-05-11 12:42:18 -05:00
|
|
|
<% form_tag({}, { 'multipart' => true, 'accept-charset' => 'utf-8' }) do %>
|
2007-01-22 07:43:50 -06: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 %>"
|
2007-01-22 08:36:51 -06:00
|
|
|
onclick="this.value == 'AnonymousCoward' ? this.value = '' : true" />
|
2008-12-15 13:19:22 -06:00
|
|
|
<%- if @page -%>
|
2007-01-22 07:43:50 -06:00
|
|
|
| <%= link_to 'Cancel', :web => @web.address, :action => 'file'%> <small>(unlocks page)</small>
|
2008-12-15 13:19:22 -06:00
|
|
|
<%- end -%>
|
2007-01-22 07:43:50 -06:00
|
|
|
|
|
|
|
</p>
|
2008-12-15 13:19:22 -06:00
|
|
|
<%- end -%>
|
2007-05-11 12:42:18 -05:00
|
|
|
</p>
|