mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
4 lines
267 B
Plaintext
4 lines
267 B
Plaintext
%div{ ng: { show: "data.length > limit" } }
|
|
%input{ type: 'button', value: t(:show_more), ng: { click: 'limit = limit + increment' } }
|
|
%input{ type: 'button', value: t(:show_all_with_more, num: '{{ data.length - limit }}'), ng: { click: 'limit = data.length' } }
|