blob: bed2471eacf9d90b9a99eb87920af7a5df5b1a49 [file] [log] [blame]
<%= render :partial => ENV['EPFWIKI_EDITOR'] %>
<%= javascript_tag("alert('The page is currently checked out by user #{@checkout.user.name}. You can modify the HTML but you cannot commit any changes!')") if !mine?(@checkout) && !cadmin? %>
<%= javascript_tag("alert('The page is currently checked out by user #{@checkout.user.name}. As you are the central administrator you can perform operations on this checkout. Other users cannot!')") if !mine?(@checkout) && cadmin? %>