Fix a possible php7.4 error / failing tests
[phpmyadmin.git] / templates / start_and_number_of_rows_panel.twig
blob7d27f8f5c40e4cb6fe759e78550b3eda0ec2498a
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 }}" />
10         <label for="session_max_rows">{% trans "Number of rows:" %}</label>
11         <input type="number" name="session_max_rows" min="1"
12                value="{{ rows }}" required="required" />
13         <input type="submit" name="submit" class="Go"
14                value="{% trans "Go" %}" />
15         <input type="hidden" name="sql_query"
16                value="{{ sql_query }}" />
17         <input type="hidden" name="unlim_num_rows"
18                value="{{ unlim_num_rows }}" />
19     </div>
20 </fieldset>