Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
21
core/modules/views/templates/views-exposed-form.html.twig
Normal file
21
core/modules/views/templates/views-exposed-form.html.twig
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation of a views exposed form.
|
||||
*
|
||||
* Available variables:
|
||||
* - form: A render element representing the form.
|
||||
*
|
||||
* @see template_preprocess_views_exposed_form()
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
{% if q is not empty %}
|
||||
{#
|
||||
This ensures that, if clean URLs are off, the 'q' is added first,
|
||||
as a hidden form element, so that it shows up first in the POST URL.
|
||||
#}
|
||||
{{ q }}
|
||||
{% endif %}
|
||||
{{ form }}
|
||||
Reference in a new issue