PHP Classes

File: templates/blog/search.html.twig

Recommend this page to a friend!
  Classes of Manolo Salsas   Symfony Create Bundle Skeleton   templates/blog/search.html.twig   Download  
File: templates/blog/search.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Symfony Create Bundle Skeleton
Application to create reusable Symfony Bundles
Author: By
Last change:
Date: 4 years ago
Size: 754 bytes
 

Contents

Class file image Download
{% extends 'base.html.twig' %} {% block javascripts %} {{ parent() }} {{ encore_entry_script_tags('search') }} {% endblock %} {% block body_id 'blog_search' %} {% block main %} <form action="{{ path('blog_search') }}" method="get"> <div class="form-group"> <input name="q" class="form-control search-field" placeholder="{{ 'post.search_for'|trans }}" autocomplete="off" autofocus data-no-results-message="{{ 'post.search_no_results'|trans }}" > </div> </form> <div id="results"> </div> {% endblock %} {% block sidebar %} {{ parent() }} {{ show_source_code(_self) }} {% endblock %}