[WebProfiler] fix html syntax for input types

This commit is contained in:
Tobias Schultze 2015-04-24 15:23:55 +02:00 committed by Fabien Potencier
parent 3928ed5fce
commit 876b180227

View File

@ -5,26 +5,27 @@
</h3>
<form action="{{ path('_profiler_search') }}" method="get">
<label for="ip">IP</label>
<input type="text" name="ip" id="ip" value="{{ ip }}" placeholder="e.g. 127.0.0.1">
<input type="text" name="ip" id="ip" value="{{ ip }}">
<div class="clear-fix"></div>
<label for="method">Method</label>
<select name="method" id="method">
{% for m in ['', 'DELETE', 'GET', 'HEAD', 'PATCH', 'POST', 'PUT'] %}
<option value=""{{ '' == method ? ' selected="selected"' : '' }}>&nbsp;</option>
{% for m in ['DELETE', 'GET', 'HEAD', 'PATCH', 'POST', 'PUT'] %}
<option{{ m == method ? ' selected="selected"' : '' }}>{{ m }}</option>
{% endfor %}
</select>
<div class="clear-fix"></div>
<label for="url">URL</label>
<input type="text" name="url" id="url" value="{{ url }}" placeholder="e.g. {{ request.baseUrl }}">
<input type="text" name="url" id="url" value="{{ url }}">
<div class="clear-fix"></div>
<label for="token">Token</label>
<input type="text" name="token" id="token" value="{{ token }}" placeholder="e.g. 1f321b">
<input type="text" name="token" id="token" value="{{ token }}">
<div class="clear-fix"></div>
<label for="start">From</label>
<input type="date" name="start" id="start" value="{{ start }}" placeholder="e.g. {{ '-2days'|date('d.m.Y') }}">
<input type="date" name="start" id="start" value="{{ start }}">
<div class="clear-fix"></div>
<label for="end">Until</label>
<input type="date" name="end" id="end" value="{{ end }}" placeholder="e.g. {{ 'now'|date('d.m.Y') }}">
<input type="date" name="end" id="end" value="{{ end }}">
<div class="clear-fix"></div>
<label for="limit">Limit</label>
<select name="limit" id="limit">