add composer and scaffold out the braindump function
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}ExerciseSession{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>ExerciseSession</h1>
|
||||
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<td>{{ exercise_session.id }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<td>{{ exercise_session.type }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>StartedAt</th>
|
||||
<td>{{ exercise_session.startedAt ? exercise_session.startedAt|date('Y-m-d H:i:s') : '' }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>EndedAt</th>
|
||||
<td>{{ exercise_session.endedAt ? exercise_session.endedAt|date('Y-m-d H:i:s') : '' }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Duration</th>
|
||||
<td>{{ exercise_session.duration }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Distance</th>
|
||||
<td>{{ exercise_session.distance }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Calories</th>
|
||||
<td>{{ exercise_session.calories }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Notes</th>
|
||||
<td>{{ exercise_session.notes }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Source</th>
|
||||
<td>{{ exercise_session.source }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>CreatedAt</th>
|
||||
<td>{{ exercise_session.createdAt ? exercise_session.createdAt|date('Y-m-d H:i:s') : '' }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<a href="{{ path('app_exercise_session_index') }}">back to list</a>
|
||||
|
||||
<a href="{{ path('app_exercise_session_edit', {'id': exercise_session.id}) }}">edit</a>
|
||||
|
||||
{{ include('exercise_session/_delete_form.html.twig') }}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user