Matho/refinerycms-registrations

View on GitHub
app/views/refinery/race_registrations/admin/registrations/_registration.html.erb

Summary

Maintainability
Test Coverage
<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(registration) -%>">
  <span class='title'>
    <%= registration.title %>

  </span>
  <span class='actions'>
    
    <%= link_to refinery_icon_tag("application_go.png"), refinery.race_registrations_registration_path(registration),
        :title => t('.view_live_html'),
        :target => "_blank" %>
    
    <%= link_to refinery_icon_tag("application_edit.png"), refinery.edit_race_registrations_admin_registration_path(registration),
         :title => t('.edit') %>
    <%= link_to refinery_icon_tag("delete.png"), refinery.race_registrations_admin_registration_path(registration),
        :class => "cancel confirm-delete",
        :title => t('.delete'),
        :confirm => t('message', :scope => 'refinery.admin.delete', :title => registration.title),
        :method => :delete %>
  </span>
</li>