app/views/rich/cms/dock/_panel.html.erb in rich_cms-2.1.7 vs app/views/rich/cms/dock/_panel.html.erb in rich_cms-3.0.0
- old
+ new
@@ -1,3 +1,3 @@
<div id="rich_cms_panel" style="display: none">
- <%= render :partial => "rich/cms/dock/panel/#{current_rich_cms_admin.nil? ? "login" : "edit"}" %>
+ <%= render :partial => "rich/cms/dock/panel/#{rich_cms_login_required? ? "login" : "edit"}" %>
</div>