Sha256: 59b6e6e320ddfa6a2aa80a1735d10d9fb6b7f4466807c3c2d14004cdee226b4b

Contents?: true

Size: 548 Bytes

Versions: 16

Compression:

Stored size: 548 Bytes

Contents

%ul.l-page__main-menu
  %li= link_to t("views.main_menu.root"), root_path
  %li= link_to t("views.main_menu.news"), news_articles_path
  %li.with-sub-menu
    = link_to t("views.main_menu.catalog"), catalog_index_path
    %ul.sub-menu
      - Model::CATEGORIES.each do |category|
        - if Model.where(category: category).count > 0
          %li= link_to t("views.main_menu.categories.#{category}"), catalog_path(category)
  %li= link_to t("views.main_menu.user_form"), new_model_path
  %li= link_to t("views.main_menu.contacts"), contacts_path

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ultimate-base-0.7.2 test/dummy/app/views/application/_main_menu.html.haml
ultimate-base-0.6.2 test/dummy/app/views/application/_main_menu.html.haml
ultimate-base-0.6.0 test/dummy/app/views/application/_main_menu.html.haml
ultimate-base-0.5.0.0 test/dummy/app/views/application/_main_menu.html.haml
ultimate-base-0.4.1.0 test/dummy/app/views/application/_main_menu.html.haml
ultimate-base-0.4.0.1 test/dummy/app/views/application/_main_menu.html.haml
ultimate-base-0.4.0.0 test/dummy/app/views/application/_main_menu.html.haml
ultimate-base-0.3.5.0 test/dummy/app/views/application/_main_menu.html.haml
ultimate-base-0.3.4.0 test/dummy/app/views/application/_main_menu.html.haml
ultimate-base-0.3.3.0 test/dummy/app/views/application/_main_menu.html.haml
ultimate-base-0.3.2.1 test/dummy/app/views/application/_main_menu.html.haml
ultimate-base-0.3.2 test/dummy/app/views/application/_main_menu.html.haml
ultimate-base-0.3.1.1 test/dummy/app/views/application/_main_menu.html.haml
ultimate-base-0.3.1 test/dummy/app/views/application/_main_menu.html.haml
ultimate-base-0.3.0 test/dummy/app/views/application/_main_menu.html.haml
ultimate-base-0.3.0.alpha test/dummy/app/views/application/_main_menu.html.haml