<% content_for :title, "Bins" %>
<% content_for :tabs, render("items/tabs") %>

<% content_for :content do %>
  <% if current_user.can_view_and_edit_items? %>
    <h4 class="button-height">
      <%= link_to "Create Bin", new_bin_path, class: "btn btn-primary bottom15 pull-right" %>
    </h4>
  <% end %>

  <table class="table table-hover table-striped data-table">
    <thead>
      <tr>
        <th class="col-xs-3 sort-asc">Label</th>
        <th class="col-xs-3">Location</th>
        <th class="col-xs-6">Items</th>
      </tr>
    </thead>

    <tbody>
      <% @bins.each do |bin| %>
        <tr data-href="<%= edit_bin_path(bin) %>">
          <td class="col-xs-3"><%= bin.label %></td>
          <td class="col-xs-3"><%= bin.bin_location.display %></td>

          <td class="col-xs-6">
            <% bin.items.each do |item| %>
              <div><%= item.description %></div>
            <% end %>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>
<% end %>

<% content_for :title, "Bins" %>
<% content_for :tabs, render("items/tabs") %>

<% content_for :content do %>
  <% if current_user.can_edit_bins? %>
    <h4 class="button-height">
      <%= link_to "Create Bin", new_bin_path, class: "btn btn-primary bottom15 pull-right" %>
    </h4>
  <% end %>

  <table class="table table-hover table-striped data-table">
    <thead>
      <tr>
        <th class="col-xs-3 sort-asc">Label</th>
        <th class="col-xs-3">Location</th>
        <th class="col-xs-6">Items</th>
      </tr>
    </thead>

    <tbody>
      <% @bins.each do |bin| %>
        <tr data-href="<%= edit_bin_path(bin) %>">
          <td class="col-xs-3"><%= bin.label %></td>
          <td class="col-xs-3"><%= bin.bin_location.display %></td>

          <td class="col-xs-6">
            <% bin.items.each do |item| %>
              <div><%= item.description %></div>
            <% end %>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>
<% end %>

Fix typo in bins view to use proper permission
Fix typo in bins view to use proper permission
