File: counter.tt

package info (click to toggle)
libmojomojo-perl 1.11%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,496 kB
  • ctags: 927
  • sloc: perl: 14,671; sh: 148; xml: 120; makefile: 8; ruby: 6
file content (6 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
[% WRAPPER page/wrapper.tt index_page=(c.req.params.rev ? 0 : 1) +%]
<p id='count'>[% count -%]</p>
<a href='[% c.uri_for('/special/counter.add') -%]'>+</a>
<br />
<a href='[% c.uri_for('/special/counter.subtract') -%]'>-</a>
[% END # WRAPPER %]