Skip to content

Commit

Permalink
feat: adding close button for groups assignment (#4730)
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaMajmudar committed Mar 9, 2024
1 parent 52204bc commit 559e943
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/groups/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,11 @@
<span><%= t("edit") %></span>
<% end %>
</div>

<div class="groups-assignment-details">
<%= link_to close_group_assignment_path(@group, assignment), class: "mini-button groups-close-mini-button", method: :put do %>
<span><%= t("close") %></span>
<% end %>
</div>
<% end %>
<div class="groups-assignment-details">
<%= link_to "#", class: "mini-button groups-delete-mini-button", data: { toggle: "modal", target: "#deleteassignmentModal", currentgroup: @group.id, currentassignment: assignment.id } do %>
Expand Down

0 comments on commit 559e943

Please sign in to comment.