Skip to content

Commit

Permalink
typo on admin panel
Browse files Browse the repository at this point in the history
  • Loading branch information
paulthatjazz committed Nov 22, 2024
1 parent af25b48 commit 73265a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/admin/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<th>Name</th>
<th>Kew RGB 25cm</th>
<th>Kew Samples</th>
<th>DEFRA Hedgerows</th>
<th>DEFRA Hedgerow</th>
<th>NATMAP</th>
</tr>
</thead>
Expand All @@ -44,8 +44,8 @@
class: "btn btn-sm btn-light" %>
</td>
<td>
<%= button_to team.permission('defra_hedgerows') ? "✅" : "❌",
toggle_permission_team_path(team, permission_key: 'defra_hedgerows'),
<%= button_to team.permission('defra_hedgerow') ? "✅" : "❌",
toggle_permission_team_path(team, permission_key: 'defra_hedgerow'),
method: :patch,
class: "btn btn-sm btn-light" %>
</td>
Expand Down

0 comments on commit 73265a5

Please sign in to comment.