Corrected a link, and changed it to a link_to method
This commit is contained in:
parent
b9737747f2
commit
94292199b2
|
@ -7,6 +7,14 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a href="<%= @page.name %>?break_lock=1" accesskey="E">Edit the page anyway</a> |
|
<%= link_to 'Edit the page anyway',
|
||||||
<a href="../show/<%= @page.name %>">Cancel</a>
|
{: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>
|
</p>
|
||||||
|
|
Loading…
Reference in a new issue