Add a simple web interface for adding/updating short titles. (No backend yet.)
[ccbs] / html / templates / shorttitles.tmpl
1 [%# vim:set filetype=html: %]
2
3   <div>
4     <form method="post" action="do-update-shorttitles.pl">
5       <table class="scores">
6         <tr>
7           <th>Sang</th>
8           <th>Kort tittel</th>
9         </tr>
10
11 [% FOR s = songs %]
12         <tr>
13           <td>[% s.title %]</td>
14           <td><input name="st[% s.song %]" value="[% s.shorttitle %]" /></td>
15         </tr>
16 [% END %]
17         <tr>
18           <td colspan="2">
19             <input type="submit" value="Oppdater" />
20           </td>
21         </tr>
22       </table>
23     </form>
24   </div>