diff options
| author | FivePixels <o5pxels@gmail.com> | 2022-05-02 18:37:06 -0500 |
|---|---|---|
| committer | FivePixels <o5pxels@gmail.com> | 2022-05-02 18:37:06 -0500 |
| commit | 746d2c2d31f47e3e475c0bf5ffbf2492db78be41 (patch) | |
| tree | 6d9d0bdf6f99962fde5f86af536058821b510797 /app/templates/workout/record.html | |
| parent | 8a8463c20da456f1ed93ba6a57460dd7a19fcefc (diff) | |
| download | Strengthy-746d2c2d31f47e3e475c0bf5ffbf2492db78be41.tar.xz Strengthy-746d2c2d31f47e3e475c0bf5ffbf2492db78be41.zip | |
Fix indentation in record.html, update record.js logic
to add event listener to added sets, fix add sets button, update the
home page href to prevent bug that sent user from /workout/record to
just /workout
Diffstat (limited to 'app/templates/workout/record.html')
| -rw-r--r-- | app/templates/workout/record.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/app/templates/workout/record.html b/app/templates/workout/record.html index aa58ff4..b953a3d 100644 --- a/app/templates/workout/record.html +++ b/app/templates/workout/record.html @@ -16,18 +16,18 @@ </thead> <tbody> {% for set in exercise.sets.entries %} - <tr> - <th>{{ loop.index }}</th> - <td>{{ set['lbs'](class_='input') }}</td> - <td>{{ set['units'](class_='input') }}</td> - <td> - <a class="button" onClick="onClickSetCheck(this)"> - <span class="icon is-small"> - <i class="fa fa-check"></i> - </span> - </a> - </td> - </tr> + <tr> + <th>{{ loop.index }}</th> + <td>{{ set['lbs'](class_='input') }}</td> + <td>{{ set['units'](class_='input') }}</td> + <td> + <a class="button" onClick="onClickSetCheck(this)"> + <span class="icon is-small"> + <i class="fa fa-check"></i> + </span> + </a> + </td> + </tr> {% endfor %} </tbody> </table> |
