Allow cards table actions to receive options
Just like we sometimes override options in the generic table actions component, we're going to do the same thing with the cards table actions.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<% cards.each do |card| %>
|
||||
<%= render Admin::Widget::Cards::RowComponent.new(card) %>
|
||||
<%= render Admin::Widget::Cards::RowComponent.new(card, options) %>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user