Skip to content

Commit 2d70d96

Browse files
authored
Merge pull request #6172 from swamp09/fix_unclosed_form_tag_in_admin_table_component
[Admin] Fix Unclosed form_tag in table component
2 parents 7d8a10d + 6949386 commit 2d70d96

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

admin/app/components/solidus_admin/ui/table/component.html.erb

+4-3
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,10 @@
8888
<% end %>
8989

9090
<%= render component("ui/table/toolbar").new("data-#{stimulus_id}-target": "batchToolbar", role: "toolbar", "aria-label": t(".batch_actions"), hidden: true) do %>
91-
<%= form_tag '', id: batch_actions_form_id %>
92-
<% @data.batch_actions.each do |batch_action| %>
93-
<%= render_batch_action_button(batch_action) %>
91+
<%= form_tag '', id: batch_actions_form_id do %>
92+
<% @data.batch_actions.each do |batch_action| %>
93+
<%= render_batch_action_button(batch_action) %>
94+
<% end %>
9495
<% end %>
9596
<% end %>
9697

0 commit comments

Comments
 (0)