Sha256: 924683cd20bcb0ba417b4aa017cf264a5ea25e1a063b94954511d03d3581b6d0
Contents?: true
Size: 465 Bytes
Versions: 4
Compression:
Stored size: 465 Bytes
Contents
<h1>Listing rules</h1> <table> <thead> <tr> <th>Name</th> <th>Enabled</th> <th></th> </tr> </thead> <tbody> <% @rules.each do |rule| %> <tr> <td><%= link_to rule.name, rule %></td> <td><%= link_to 'Edit', rule %></td> <td><%= link_to 'Destroy', rule, method: :delete, data: { confirm: 'Are you sure?' } %></td> </tr> <% end %> </tbody> </table> <br /> <%= link_to 'New Rule', new_rule_path %>
Version data entries
4 entries across 4 versions & 1 rubygems