Sha256: aae9043334b26b84861fe3204a17d500a174d456757eea17821a4ff3922902cc

Contents?: true

Size: 388 Bytes

Versions: 12

Compression:

Stored size: 388 Bytes

Contents

.well
  %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

12 entries across 12 versions & 2 rubygems

Version Path
wice_grid-6.1.3 spec/support/test_app/app/views/localization/index.html.haml
wice_grid-6.1.2 spec/support/test_app/app/views/localization/index.html.haml
wice_grid-6.1.1 spec/support/test_app/app/views/localization/index.html.haml
wice_grid-6.1.0 spec/support/test_app/app/views/localization/index.html.haml
pwice_grid-7.0.0 spec/support/test_app/app/views/localization/index.html.haml
pwice_grid-6.1.2 spec/support/test_app/app/views/localization/index.html.haml
pwice_grid-6.1.1 spec/support/test_app/app/views/localization/index.html.haml
pwice_grid-6.1.0 spec/support/test_app/app/views/localization/index.html.haml
pwice_grid-5.0.2 spec/support/test_app/app/views/localization/index.html.haml
pwice_grid-5.0.1 spec/support/test_app/app/views/localization/index.html.haml
pwice_grid-5.0.0 spec/support/test_app/app/views/localization/index.html.haml
wice_grid-4.1.0 spec/support/test_app/app/views/localization/index.html.haml