= render :partial => 'admin/menus/lang_switcher' = render :partial => 'tabs' #wrap .backgrounds.big-header %h1 = @page.title .interact-links = link_to t('page.update.action').capitalize, [forgeos_cms, :edit, :admin, @page ], :class => 'backgrounds interact-button' = t :or = link_to t('page.back').capitalize, forgeos_cms.admin_pages_path, :class => 'back-link' #content.grid_16.alpha.omega .grid_12.alpha .inner-content %h2.permalink = t(:permalink, :count => 1).capitalize \: = forgeos_cms.page_url(@page.url) .fieldset %h2= t :content .page-content %iframe{ :src => forgeos_cms.page_url(@page.url), :width => '100%', :height => 500, :style => 'border: none' } - unless @page.blocks.empty? .fieldset %h2= t('block', :count => 2) - @page.blocks.each do |block| %div.block-container %span.block-type = block.class.model_name.human.capitalize %span.block-name = block.title #right-sidebar.grid_4.omega .step.status.open -# status = [[t('page.published'), 'published'], [t('page.draft'), 'draft'], [t('to validate'), 'to-validate']] - status = [[t('page.published'), 'published'], [t('page.draft'), 'draft']] = select_tag :status, options_for_select(status, @page.active ? 'published' : 'draft'), :class => 'customize published' .clear %p - unless @page.new_record? or !@page.active or @page.published_at.nil? = t('page.published_on').capitalize %span.last-date= @page.published_at.to_date #pages_show_tags.step.open = link_to t('tag', :count => 2).capitalize, '#', :class => 'small-icons step-title' .inner-step.tags - @page.tags_on(:tags).each do |tag| %label= tag.name #pages_show_meta.step.open = link_to t('page.meta_description').capitalize, '#', :class => 'small-icons step-title' .inner-step.meta %p %span = t(:title, :count => 1).capitalize \: = @page.meta_info.title if @page.meta_info %p %span = t(:description).capitalize \: = @page.meta_info.description if @page.meta_info %p %span = t(:keyword, :count => 2).capitalize \: = @page.meta_info.keywords if @page.meta_info .step.disabled = link_to t(:graphic_template, :count => 1).capitalize, '#', :class => 'small-icons step-title' .inner-step.glossy .clear