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