Sha256: 5db1b421ae4e5855c51c24cb05fef5ec9b60b2d633c42eaedd618b2db956a408

Contents?: true

Size: 1.24 KB

Versions: 3

Compression:

Stored size: 1.24 KB

Contents

= render :partial => 'admin/menus/lang_switcher'
= render :partial => 'tabs'
= form_for [forgeos_cms, :admin, menu], :html => { :id => 'wrap' } do |f|
  .backgrounds.big-header
    = f.text_field :name, :class => 'field_name'
    = Forgeos_save_buttons forgeos_cms.admin_menus_path
  #content.grid_12.alpha.omega

    .inner-content
      #menu-tree.padding-wrap
        %ul
          = render :partial => 'form_menu_links', :locals => { :menu_links => @menu.menu_links, :form => f, :has_parent => false }
      = link_to t('menu.link.add').capitalize, '#', :class => 'small-icons add-link button-menu-link'

  #right-sidebar.grid_4.alpha.omega
    .step
      = link_to content_tag(:span, t('menu.link.add').capitalize, :class => 'small-icons add-menu-link'), '#', :class => 'backgrounds button button-menu-link'

    - unless menu.new_record?
      .step
        = link_to t('menu.duplicate').capitalize, forgeos_cms.duplicate_admin_menu_path(menu), :class => 'small-icons duplicate'
        = link_to t('menu.destroy.action').capitalize, [forgeos_cms, :admin, menu], :confirm => t('menu.destroy.confirm').capitalize, :method => :delete, :class => 'small-icons delete'
      .clear
  .clear

= render :partial => 'empty_menu_link'
= render :partial => 'types_popups'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
forgeos_cms-1.9.4 app/views/admin/menus/_form.html.haml
forgeos_cms-1.9.2 app/views/admin/menus/_form.html.haml
forgeos_cms-1.9.1 app/views/admin/menus/_form.html.haml