Sha256: 53aa05e8e870f0d26bea4a422f1f49c428bf84902f56e04ec70f1ae2a72c1475
Contents?: true
Size: 1.01 KB
Versions: 3
Compression:
Stored size: 1.01 KB
Contents
- @window_title = "Content" - select_page_title = @page.name.blank? ? "Edit Content" : "#{@page.name}" - if(Gluttonberg.localized? && @page.localizations && @page.localizations.length > 1) - select_page_title = "Edit #{@page_localization.locale.name} Content" - @page_title = "#{link_to "Pages", admin_pages_path} > #{select_page_title}" .row-fluid#edit-form = render :partial => "/gluttonberg/admin/content/main/sidebar" .span9 .page-header %h1 = @page_title.html_safe .row-fluid = auto_save(@page_localization) - unless @page_localization.blank? = version_alerts(@page_localization.versions , (@version.blank? ? @page_localization.version : @version ), can?(:publish , Gluttonberg::Page) ) - unless @page_localization.contents.blank? = previous_version_warning(@page_localization.contents.first.versions , @version) = render :partial => "form" , :locals => { :url => admin_page_page_localization_path( :page_id => params[:page_id], :id => @page_localization) }
Version data entries
3 entries across 3 versions & 1 rubygems