Sha256: dca2c5f8e7f3a2c1f591f58f4c195fa08d62f5be0096d60cf6bb56dd801899e9
Contents?: true
Size: 1.4 KB
Versions: 2
Compression:
Stored size: 1.4 KB
Contents
%ul.fg-control-bar{ :class => css_class } %li %span = t(:"pagination.per_page", :default => "Results per Page", :scope => Fancygrid.i18n_scope) = select_tag(:per_page, options_for_select(fancygrid.per_page_options, fancygrid.view.get_pagination_per_page), :class => "fg-per-page") %li.separator %li.button = fancygrid_button(:"fg-previous", :"pagination.prev_page", "Previous page") %li %span = t(:"pagination.page", :default => "Page", :scope => Fancygrid.i18n_scope) = text_field_tag(:"fg-page", fancygrid.view.get_pagination_page + 1, :class => :"fg-page" ) %span = t(:"pagination.of", :default => "of", :scope => Fancygrid.i18n_scope) %span.fg-page-total = 0 %li.button = fancygrid_button(:"fg-next", :"pagination.next_page","Next page") %li.separator %li %span = t(:"pagination.results", :default => "Total entries", :scope => Fancygrid.i18n_scope) %span.fg-result-total = fancygrid.resultcount or 0 %li.button = fancygrid_button(:"fg-reload", :"pagination.reload", "Reload") %li.button = fancygrid_button(:"fg-clear", :"search.clear", "Clear search") %li.button = fancygrid_button(:"fg-magnify", :"search.toggle", "Toggle Search") - if fancygrid.has_sort_window? %li.button = fancygrid_button(:"fg-sort", :"sort.submit", "Sort columns") %li.separator = yield :fancygrid_buttons
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fancygrid-1.1.0 | app/views/fancygrid/base/controls.html.haml |
fancygrid-1.0.0 | app/views/fancygrid/base/controls.html.haml |