Sha256: acc27505359cc7ee4588faeb307c50464c20077ab2d3699b36733c87bd0be919
Contents?: true
Size: 501 Bytes
Versions: 17
Compression:
Stored size: 501 Bytes
Contents
<% if @model.has_route?(:new) && can?(:create, @model) %> <%= link_to( content_tag( :i, nil, class: 'fa fa-plus' ), { controller: params[:controller], action: :new }, title: I18n.t('action.create', resource: @model.display_name), class: 'spinner-link', data: { toggle: :tooltip, placement: :left, title: I18n.t('action.create', resource: @model.display_name), } ) %> <% end %>
Version data entries
17 entries across 17 versions & 1 rubygems