Sha256: 7923f42fb262b05ffcc49a5bd15a7356893d73b9364244202953c888c2c6a3b8
Contents?: true
Size: 331 Bytes
Versions: 16
Compression:
Stored size: 331 Bytes
Contents
- actions.each do |a| = link_to({ controller: a.controller, action: a.action }, method: a.verb, class: 'btn btn-tool', data: { turbo: true }) do - icon_key = "activerecord.actions.icons.#{a.sym}" - if I18n.exists?(icon_key) %i.fa{ class: I18n.t(icon_key)} = resource_form_action_label(@resource, a.sym)
Version data entries
16 entries across 16 versions & 1 rubygems