.grid_12.alpha .inner-content - i = 0 = f.fields_for :page_cols do |page_col| = page_col.label :content, t("page_col_#{i}") = page_col.text_area :content, :class => 'mceEditor', :cols => 85 .clear - i = i+1 #right-sidebar.grid_4.omega .step.status.open %div - status = [[I18n.t('page.published'), 'published'], [I18n.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? = I18n.t('page.published_on').capitalize %span.last-date = page.published_at.to_date if page.published_at / %br by TODO %em Quentin Tousart .step -# = link_to I18n.t('page.preview').capitalize, '#', :class => 'small-icons preview' = content_tag :span, I18n.t('page.preview').capitalize, :class => 'small-icons preview disabled' - unless page.new_record? = link_to I18n.t('page.duplicate').capitalize, [forgeos_cms, :duplicate, :admin, page], :class => 'small-icons duplicate' = link_to I18n.t('page.delete').capitalize, [forgeos_cms, :admin, page], :confirm => I18n.t('page.destroy.confirm').capitalize, :method => :delete, :class => 'small-icons delete' / #history_step.step.disabled %a.small-icons.step-title{ :href => "#" }= I18n.t('page.modification_history').capitalize .inner-step %p Modified on %span.last-date 12/11/2009 %br by %em Quentin Tousart %p Created on 11/11/2009 %br by %em Quentin Tousart .step.disabled %a.small-icons.step-title{ :href => "#" } Graphic template .inner-step.glossy %select{ :name => "design" } %option{ :selected => "selected", :value => "default" } Corporate blue design %option{ :value => "no" } Corporate green design .clear