projects
/
ccbs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f858e5
)
Add buttons for setting paid/not paid (not validating, no backend).
author
Steinar H. Gunderson
<sesse@samfundet.no>
Mon, 14 Feb 2005 15:43:33 +0000
(15:43 +0000)
committer
Steinar H. Gunderson
<sesse@samfundet.no>
Mon, 14 Feb 2005 15:43:33 +0000
(15:43 +0000)
html/templates/registration.tmpl
patch
|
blob
|
history
diff --git
a/html/templates/registration.tmpl
b/html/templates/registration.tmpl
index
33b4162
..
bd0b4b5
100644
(file)
--- a/
html/templates/registration.tmpl
+++ b/
html/templates/registration.tmpl
@@
-45,6
+45,16
@@
[% ELSE %]
<span class="notpaid">ikke betalt</span>
[% END %]
+ <form method="post" action="do-set-paid.pl">
+ <input type="hidden" name="player" value="[% r.player %]" />
+[% IF r.paid %]
+ <input type="hidden" name="paid" value="f" />
+ <input type="submit" value="Sett som ikke betalt" />
+[% ELSE %]
+ <input type="hidden" name="paid" value="t" />
+ <input type="submit" value="Sett som betalt" />
+[% END %]
+ </form>
</li>
[% END %]
</ul>