blob: c5a7f5207500a170e90990d27cef45fa4daec2fe [file] [log] [blame]
<%= render :partial => 'tinymce' %>
<%= 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? %>