Corrected a link, and changed it to a link_to method
This commit is contained in:
parent
b9737747f2
commit
94292199b2
1 changed files with 10 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue