start_and_number_of_rows_panel.twig 794 B

1234567891011121314151617181920
  1. <fieldset>
  2. <div>
  3. <label for="pos">{% trans "Start row:" %}</label>
  4. <input type="number" name="pos" min="0" required="required"
  5. {% if unlim_num_rows > 0 -%}
  6. max="{{ unlim_num_rows - 1 }}"
  7. {%- endif %}
  8. value="{{ pos }}" />
  9. <label for="session_max_rows">{% trans "Number of rows:" %}</label>
  10. <input type="number" name="session_max_rows" min="1"
  11. value="{{ rows }}" required="required" />
  12. <input type="submit" name="submit" class="Go"
  13. value="{% trans "Go" %}" />
  14. <input type="hidden" name="sql_query"
  15. value="{{ sql_query }}" />
  16. <input type="hidden" name="unlim_num_rows"
  17. value="{{ unlim_num_rows }}" />
  18. </div>
  19. </fieldset>