{% extends 'layout.twig' %} {% block title %}Search{% endblock %} {% block content %} Searching for "{{ query }}" {% if item_results|length > 0 %} Hardware components: Name Type Updated at {% for item in item_results %} {{ item.name }} {{ item.type }} {{ item.updatedAt | date("m/d/Y h:i:s A") }} {% endfor %} {% endif %} {% if license_results|length > 0 %} Software licenses: Name Vendor Updated at {% for license in license_results %} {{ license.name }} {{ license.manufacturer }} {{ license.updatedAt | date("m/d/Y h:i:s A") }} {% endfor %} {% endif %} {% endblock %}