Sha256: b00d56005d9f280ad977c1a2b7a86f1a925bf0121d6857164647529bd4809d84

Contents?: true

Size: 1.99 KB

Versions: 4

Compression:

Stored size: 1.99 KB

Contents

= render :partial => 'admin/menus/lang_switcher'
= render :partial => 'admin/widgets/tabs'
#wrap
  .backgrounds.big-header
    %h1
      = @carousel.title
    .interact-links
      = link_to I18n.t('widget.update.action', :count => 1).capitalize, [forgeos_cms, :edit, :admin, @carousel ], :class => 'backgrounds interact-button'
      = I18n.t('or')
      = link_to I18n.t('widget.back').capitalize, forgeos_cms.admin_blocks_path, :class => 'back-link'
  #content.grid_12.alpha.omega
    .inner-content
      .fieldset
        %h2= I18n.t('widget_settings').capitalize
        #carousel_items.sortable.widget-list
          = render :partial => 'item', :collection => @carousel.items

  #right-sidebar.grid_4.alpha.omega
    .step
      -#= link_to I18n.t('preview'), '#', :class => 'small-icons preview'
      = content_tag :span, I18n.t('preview').capitalize, :class => 'small-icons preview disabled'
      - unless @carousel.new_record?
        = link_to I18n.t('duplicate'), [forgeos_cms, :duplicate, :admin, @carousel], :class => 'small-icons duplicate'
        = link_to I18n.t('delete'), [forgeos_cms, :admin, @carousel], :confirm => I18n.t('carousel.destroy.confirm').capitalize, :method => :delete, :class => 'small-icons delete'
    #carousel_show_create.step.open
      %a.small-icons.step-title{ :href => "#" }
        = "#{I18n.t('widget.link.create.action').capitalize} :"
      .view-tree.inner-step
        %ul
          = render :partial => 'admin/blocks/associated_pages', :locals => { :categories => @page_categories, :pages => @pages, :block => @carousel, :element_id => 'carousel' }
      .clear
    .step
      %a.small-icons.step-title{ :href => "#" }
        = "#{I18n.t('folder.associated_to').capitalize} :"
      .view-tree.inner-step
        %ul
          = render :partial => 'admin/categories/associated_elements', :locals => { :association_id => 'category_ids', :element => @carousel, :category_ids => @carousel.category_ids, :categories => WidgetCategory.find_all_by_parent_id(nil) }
      .clear
  .clear

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
forgeos_cms-1.9.5.rc1 app/views/admin/carousels/show.html.haml
forgeos_cms-1.9.4 app/views/admin/carousels/show.html.haml
forgeos_cms-1.9.2 app/views/admin/carousels/show.html.haml
forgeos_cms-1.9.1 app/views/admin/carousels/show.html.haml