corrections.html 1.1 KB

1234567891011121314151617181920
  1. <div id="corrections" role="complementary" aria-labelledby="corrections-title">
  2. <h4 id="corrections-title">{{ _('Try searching for:') }}</h4>
  3. {% for correction in corrections %}
  4. <div class="left">
  5. <form method="{{ method or 'POST' }}" action="{{ url_for('search') }}" role="navigation">
  6. {% for category in selected_categories %}
  7. <input type="hidden" name="category_{{ category }}" value="1">
  8. {% endfor %}
  9. <input type="hidden" name="q" value="{{ correction.url }}">
  10. <input type="hidden" name="language" value="{{ current_language }}">
  11. <input type="hidden" name="time_range" value="{{ time_range }}">
  12. <input type="hidden" name="safesearch" value="{{ safesearch }}">
  13. <input type="hidden" name="theme" value="{{ theme }}">
  14. {% if timeout_limit %}<input type="hidden" name="timeout_limit" value="{{ timeout_limit }}" >{% endif %}
  15. <input type="submit" role="link" value="{{ correction.title }}">
  16. </form>
  17. </div>
  18. {% endfor %}
  19. </div>