switch <form>s to GET

This commit is contained in:
Frédéric Péters 2011-11-20 18:27:17 +01:00
parent 0e51a6fdfa
commit 2f9b0022b1
1 changed files with 12 additions and 0 deletions

View File

@ -25,7 +25,10 @@
<dl class="enableFormTabbing" id="search-tabs">
<dt id="fieldsetlegend-documents">Documents parlementaires</dt>
<dd id="fieldset-documents">
<form method="post" action="./#resultsbox">
<div tal:replace="structure view/document_pfb_search_form"/>
</form>
<div tal:define="search_results view/document_search_results;
search_batch python:Batch(list(search_results or []), b_size, int(b_start), orphan=1);"
@ -48,7 +51,10 @@
</div>
<div tal:define="batch search_batch">
<form method="get" action="./#resultsbox">
<div metal:use-macro="view/batch_macros/macros/navigation" />
<div metal:use-macro="view/batch_macros/macros/feed" />
</form>
</div>
</div>
@ -57,7 +63,9 @@
<dt id="fieldset-legend-questions">Questions &amp; interpellations</dt>
<dd id="fieldset-questions">
<form method="post" action="./#resultsbox">
<div tal:replace="structure view/question_search_form"/>
</form>
<div tal:define="search_results view/question_search_results;
search_batch python:Batch(search_results or [], b_size, int(b_start), orphan=1);"
@ -81,7 +89,10 @@
</div>
<div tal:define="batch search_batch">
<form method="get" action="./#resultsbox">
<div metal:use-macro="view/batch_macros/macros/navigation" />
<div metal:use-macro="view/batch_macros/macros/feed" />
</form>
</div>
</div>
@ -95,6 +106,7 @@
<div tal:replace="structure provider:plone.belowcontentbody" />
<script type="text/javascript" tal:content="string: var PORTAL_URL='${view/portal_url}';"/>
<script type="text/javascript">
function update_authors_input(input) {
var s = '';