2008-12-30 10:03:02 +01:00
|
|
|
<%-
|
2010-05-26 07:27:49 +02:00
|
|
|
@title = "Delete #{@file_name}".html_safe
|
2008-12-30 10:03:02 +01:00
|
|
|
@hide_navigation = true
|
|
|
|
-%>
|
|
|
|
|
|
|
|
<%= error_messages_for 'delete' %>
|
|
|
|
|
|
|
|
<% form_tag({ :controller => 'file', :web => @web_name, :action => 'delete' },
|
|
|
|
{'accept-charset' => 'utf-8' }) do %>
|
|
|
|
<div class="inputFieldWithPrompt">
|
|
|
|
<%= hidden_field 'file', 'file_name' %>
|
|
|
|
<label for="system_password">Enter system password</label>
|
|
|
|
<input type="password" class="disableAutoComplete" id="system_password"
|
|
|
|
name="system_password" />
|
|
|
|
<input type="submit" value="Delete" /><br/>
|
|
|
|
or go <%= link_to "back", :back %> to the page you came from.
|
|
|
|
</div>
|
|
|
|
<%- end -%>
|