Provide better <form /> specification by new: &My:Web::form_method
[www.jankratochvil.net.git] / project / captive / Index.pm
index 1e2fcef..f28a8ca 100755 (executable)
@@ -292,7 +292,7 @@ print <<"HERE";
 
 <h2 id="lists">Mailing Lists</h2>
 
-<form action="@{[ uri_escaped(path_web "/Mailman.pm") ]}" method="post">
+<form action="@{[ uri_escaped(path_web "/Mailman.pm") ]}" @{[ form_method "post" ]}>
        <table border="1" class="mailman" style="border-collapse: collapse; border-style: solid; border-width: 1px;">
                <tr>@{[ map('<th>'.$_.'@jankratochvil.net</th>',@lists) ]}</tr>
                <tr><td>New version announcements<br />