Sha256: 0dfca0a4274839c818dc7ce874f2daa42e279532878f45968f1680588d3480e0

Contents?: true

Size: 516 Bytes

Versions: 4

Compression:

Stored size: 516 Bytes

Contents

<%
  # locals: {
  #   resource: "the resource to generate actions for",
  #   actions: "list of actions to generate",
  # }
%>
<% actions.values.each do |action| %>
  <%=
    table_action_button adapt_route_args(resource, action: action.route_options.action, **action.route_options.options),
                      icon: action.icon,
                      button_class: action.action_class,
                      method: action.route_options.method,
                      confirm: action.confirmation
  %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
plutonium-0.6.2 app/views/resource/_table_actions.html.erb
plutonium-0.6.1 app/views/resource/_table_actions.html.erb
plutonium-0.6.0 app/views/resource/_table_actions.html.erb
plutonium-0.5.0 app/views/resource/_table_actions.html.erb