Sha256: 11818c2d98774137073516f5a3ad57c16de80deb9c650a65c4d54fc438dbb45f
Contents?: true
Size: 559 Bytes
Versions: 10
Compression:
Stored size: 559 Bytes
Contents
<div class="btn-group btn-group-sm pull-right"> <% if policy(resource).show? %> <%= link_to translate_scoped("actions.show"), resource, class: "btn btn-default" %> <% end %> <% if policy(resource).edit? %> <%= link_to translate_scoped("actions.edit"), [:edit, resource], class: "btn btn-default" %> <% end %> <% if policy(resource).destroy? %> <%= link_to translate_scoped("actions.destroy"), resource, method: :delete, class: "btn btn-danger", data: { confirm: translate_scoped("actions.confirm_message") } %> <% end %> </div>
Version data entries
10 entries across 10 versions & 1 rubygems