instiki/app/views/file/import.rhtml

23 lines
663 B
Plaintext
Raw Normal View History

2007-01-22 14:43:50 +01:00
<p>
<%= form_tag({}, { 'multipart' => true, 'accept-charset' => 'utf-8' }) %>
<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 15:36:51 +01:00
onclick="this.value == 'AnonymousCoward' ? this.value = '' : true" />
2007-01-22 14:43:50 +01:00
<% if @page %>
| <%= link_to 'Cancel', :web => @web.address, :action => 'file'%> <small>(unlocks page)</small>
<% end %>
</p>
<%= end_form_tag %>
</p>