1 [% META title = 'IRC Request' %]
5 <form action="[% c.uri_for('postircrequest') %]" method="post"><fieldset> <legend>IRC request</legend>
6 <p>Message to irc. To def channel you can report incs with a line from gal status.</p>
7 <input style="width: 90%" type="text" name="message" value="[% ircmessage %]">
8 <br><select name="channel" id="channel">
9 <option value="">Pick a channel</option>
10 [% FOR ch IN channels %]
11 <option value="[% ch %]">[% ch | ucfirst %]</option>
14 <input type="submit" value="Send" id="ircsend">
17 <script type="text/javascript">
18 $(document).ready(function(){
19 $("#ircsend").attr("disabled","true");
20 $('#channel').change(function(){
21 var u = $('option:selected');
23 $("#ircsend").attr("disabled","true");
25 $("#ircsend").removeAttr("disabled");