templates/mesure/show.html.twig line 1

Open in your IDE?
  1. {% extends 'admin/base.html.twig' %}
  2. {% block title %}Mesure{% endblock %}
  3. {% block body %}
  4. <section class="mb-3 mb-lg-5">
  5.  <div class="card card-table mb-4">
  6.         <div class="card-header">
  7.             <div class="card-heading">
  8.             <span>Mesure de {{ mesure.bilan.member}} </span>
  9.                 <div style="float:right">
  10.                     <a href="{{ path('app_bilan_show',{'id': mesure.bilan.id}) }}">
  11.                         <span class="badge rounded-pill me-2 p-2 bg-primary">Retour au bilan principal</span>
  12.                     </a>
  13.                     <a href="{{ path('app_mesure_edit', {'id': mesure.id}) }}">
  14.                         <span class="badge rounded-pill me-2 p-2 bg-success">Modifier</span> 
  15.                     </a>
  16.                 </div>
  17.         </div>
  18.     <table class="table">
  19.         <tbody>
  20.             <tr>
  21.                 <th>Id</th>
  22.                 <td>{{ mesure.id }}</td>
  23.             </tr>
  24.             <tr>
  25.                 <th>CreatedAt</th>
  26.                 <td>{{ mesure.createdAt ? mesure.createdAt|date('Y-m-d H:i:s') : '' }}</td>
  27.             </tr>
  28.             <tr>
  29.                 <th>UpdatedAt</th>
  30.                 <td>{{ mesure.updatedAt ? mesure.updatedAt|date('Y-m-d H:i:s') : '' }}</td>
  31.             </tr>
  32.             <tr>
  33.                 <th>Weight</th>
  34.                 <td>{{ mesure.weight }}</td>
  35.             </tr>
  36.             <tr>
  37.                 <th>LeanBodeyMass</th>
  38.                 <td>{{ mesure.leanBodyMass }}</td>
  39.             </tr>
  40.             <tr>
  41.                 <th>BodyFat</th>
  42.                 <td>{{ mesure.bodyFat }}</td>
  43.             </tr>
  44.             <tr>
  45.                 <th>CollarSize</th>
  46.                 <td>{{ mesure.collarSize }}</td>
  47.             </tr>
  48.             <tr>
  49.                 <th>ChestSize</th>
  50.                 <td>{{ mesure.chestSize }}</td>
  51.             </tr>
  52.             <tr>
  53.                 <th>WaistSize</th>
  54.                 <td>{{ mesure.waistSize }}</td>
  55.             </tr>
  56.             <tr>
  57.                 <th>BellyCircumference</th>
  58.                 <td>{{ mesure.bellyCircumference }}</td>
  59.             </tr>
  60.             <tr>
  61.                 <th>ButtockCircumference</th>
  62.                 <td>{{ mesure.buttockCircumference }}</td>
  63.             </tr>
  64.             <tr>
  65.                 <th>HipCircumference</th>
  66.                 <td>{{ mesure.hipCircumference }}</td>
  67.             </tr>
  68.             <tr>
  69.                 <th>TighCircumference</th>
  70.                 <td>{{ mesure.tighCircumference }}</td>
  71.             </tr>
  72.             <tr>
  73.                 <th>ArmCircumference</th>
  74.                 <td>{{ mesure.armCircumference }}</td>
  75.             </tr>
  76.             <tr>
  77.                 <th>AnkelCircumference</th>
  78.                 <td>{{ mesure.ankleCircumference }}</td>
  79.             </tr>
  80.             <tr>
  81.                 <th>Active</th>
  82.                 <td>{{ mesure.active ? 'Yes' : 'No' }}</td>
  83.             </tr>
  84.         </tbody>
  85.     </table>
  86. </section>
  87.     
  88. {% endblock %}