.page-header
%h1.pull-left Registrations
.pull-right
%ul.breadcrumb
%li
= link_to new_admin_product_registration_path do
%i.icon-plus-sign
New Registration
.row
.col-sm-12
.box.bordered-box.dark-border
.box-content.box-no-padding
.responsive-table
.scrollable-area
%table.table
%thead
%tr
%th Product
%th Name
%th Active
%th
%tbody
- @registrations.each do |registration|
%tr
%td= link_to registration.product.name, admin_product_registration_path(registration)
%td= registration.user.full_name
%td= status_label registration.active
%td
.text-right
= link_to edit_admin_product_registration_path(registration), class: 'btn btn-xs' do
%i.icon-edit Edit