templates/content/manufacturers.html.twig line 1

Open in your IDE?
  1. {% extends 'layout.html.twig' %}
  2. {% block content %}
  3.     <div class="manufacturers-info">
  4.         <table class="table table-striped table-bordered">
  5.             <thead>
  6.             <tr>
  7.                 <th>Serial No</th>
  8.                 <th>Manufacturers Name</th>
  9.                 <th>Title Tag</th>
  10.                 <th>Description Tag</th>
  11.                 <th>Manufacturers Date</th>
  12.                 <th>Manufacturers Image</th>
  13.                 <th>Action</th>
  14.             </tr>
  15.             </thead>
  16.             <tbody>
  17.             {% for manufacturers in manufacturersList %}
  18.                 <tr>
  19.                     <td>{{ manufacturers.manufacturers_id|e }}</td>
  20.                     <td>{{ manufacturers.manufacturers_name|e }}</td>
  21.                     <td>{{ manufacturers.manufacturers_htc_title_tag|e }}</td>
  22.                     <td>{{ manufacturers.manufacturers_htc_desc_tag|e }}</td>
  23.                     <td>{{ manufacturers.date_added|e }}</td>
  24.                     <td>{% if manufacturers.manufacturers_image is not empty %}<img width="150px"  src="{{ asset('/var/assets/' ~ manufacturers.manufacturers_image) }}">{% endif %}</td>
  25.                     <td><a href="{{ path('manufacturers', {'id': manufacturers.manufacturers_id}) }}"class="btn btn-success btn-sm">View Details</a></td>
  26.                 </tr>
  27.             {% endfor %}
  28.             </tbody>
  29.         </table>
  30.         {% for manufacturers in paginator %}
  31.         {% endfor %}
  32.        <br />
  33.        {% include 'content/pagination.html.twig' %}
  34.     </div>
  35. {% endblock %}