locked.rhtml

Path: app/views/wiki/locked.rhtml
Last Update: Sun Apr 25 06:00:58 GMT+2:00 2004

<% @title = "#{@page.plain_name} is locked" %><%= sub_template "top" %>

<% if @page.lock_duration(Time.now) == 0 %>

  <p><%= @page.locked_by_link %> just started editing this page.</p>

<% else %>

  <p><%= @page.locked_by_link %> has been editing this page for <%= @page.lock_duration(Time.now) %> minutes.</p>

<% end %>

<p>

  <a href="<%= @page.name %>?break_lock=1">Edit the page anyway</a> |
  <a href="../show/<%= @page.name %>">Cancel</a>

</p>

<%= sub_template "bottom" %>

[Validate]