<%= truncate(license.name, :length => 19) %> |
<%= license.url.present? ? link_to(truncate(license.url, :length => 60), license.url, :target => '_blank') : '' %> |
<%= button_without_text :edit, _('Edit'), :action => 'edit', :license_id => license.id %>
<%= button_without_text :remove, _('Remove'), {action: 'remove', license_id: license.id}, method: 'post', data: {confirm: _('Are you sure you want to remove this license?')} %> |
<% end %>