Corrected a link, and changed it to a link_to method

This commit is contained in:
Alexey Verkhovsky 2005-01-18 00:33:10 +00:00
parent b9737747f2
commit 94292199b2

View file

@ -7,6 +7,14 @@
<% end %>
<p>
<a href="<%= @page.name %>?break_lock=1" accesskey="E">Edit the page anyway</a> |
<a href="../show/<%= @page.name %>">Cancel</a>
<%= link_to 'Edit the page anyway',
{:web => @web_name, :action => 'edit', :id => @page.name, :params => {'break_lock' => '1'} },
{:accesskey => 'E'}
%>
<%= link_to 'Cancel',
{:web => @web_name, :action => 'show', :id => @page.name},
{:accesskey => 'C'}
%>
</p>