<%= table_for @npw do |t| t.empty 'There is no data.' t.column :id t.column :first_name t.column :last_name t.column :category t.column :year end %>