Sha256: a1f867db35c04ad2e281051b00cabe41b78cbb2af13309a617847612d4484ecf

Contents?: true

Size: 420 Bytes

Versions: 5

Compression:

Stored size: 420 Bytes

Contents

.card.bg-light
  .card-body
    %h2= current_page_title
    %p
      WiceGrid integrated well with I18n.
      Edit file
      %code wice_grid.yml
      to add or change languages.

= show_code

%ul.nav.nav-pills
  - current = session[:lang].to_s
  - ['en', 'nl', 'fr', 'is'].each do |lang|
    - klass = current == lang ? 'active' : nil
    %li{class: klass}
      %a{href:url_for(lang: lang)}= lang

= render   'grid'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wice_grid-7.1.4 spec/support/test_app/app/views/localization/index.html.haml
wice_grid-7.1.3 spec/support/test_app/app/views/localization/index.html.haml
wice_grid-7.1.2 spec/support/test_app/app/views/localization/index.html.haml
wice_grid-7.1.1 spec/support/test_app/app/views/localization/index.html.haml
wice_grid-7.1.0 spec/support/test_app/app/views/localization/index.html.haml