Skip to content

Commit

Permalink
Fix user blocks paid checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
rebkwok committed Aug 1, 2024
1 parent 8cf995f commit b8776a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/studioadmin/user_block_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h2>Blocks for {{ user.first_name }} {{ user.last_name }} ({{ user.username }})<
<span class="hide">{{ block.paid }}</span>
<td class="text-center studioadmin-tbl"><span class="fa fa-check"></span></td>
{% else %}
<td class="text-center studioadmin-tbl">{{ block.paid }}<label for={{ block.paid_id }}></label></td>
<td class="text-center studioadmin-tbl"><div class="form-check">{{ block.paid }}<label for={{ block.paid_id }}></label></div></td>
{% endif %}
<td class="text-center studioadmin-tbl">{{ block.instance.block_type.size }}</td>
<td class="text-center studioadmin-tbl">{{ block.instance.bookings_made }}</td>
Expand All @@ -71,7 +71,7 @@ <h2>Blocks for {{ user.first_name }} {{ user.last_name }} ({{ user.username }})<
<td><strong>Add new block</strong></td>
<td colspan="2" class="studioadmin-tbl">
<div class="form-group">{{ block.block_type }}</div></td>
<td class="text-center studioadmin-tbl">{{ block.paid }}<label for={{ block.paid_id }}></label></td>
<td class="text-center studioadmin-tbl"><div class="form-check">{{ block.paid }}<label for={{ block.paid_id }}></label></div></td>
<td></td>
<td></td>
<td class="text-center studioadmin-tbl date"><div class="form-group">{{ block.start_date }}</div>
Expand Down

0 comments on commit b8776a7

Please sign in to comment.