<div class="container-fluid">
  <div class="row-fluid">
    <div class="span12">
      <h1>Location Detail</h1>

      <h2><%= @location.name %></h2>

      <% if @location.beacon.present? %>
        <h3>Beacon</h3>
        <p class="sub"><%= link_to(@location.beacon.name, [@location.beacon]) %></p>
      <% end %>

      <hr>

      <p><%= link_to raw('&laquo; Back'), locations_path, :class => 'btn btn-mini' %> <%= link_to 'Edit', edit_location_path(@location), :class => 'btn btn-mini' %></p>
    </div>
  </div>
</div>

<div class="container-fluid">
  <div class="row-fluid">
    <div class="span12">
      <h1>Location Detail</h1>

      <h2><%= @location.name %></h2>

      <% if @location.beacons.present? %>
        <h3>Beacons</h3>
        <ul>
          <% @location.beacons.each do |b| %>
            <li><p class="sub"><%= link_to(b.name, [b]) %></p></li>
          <% end %>
        </ul>
      <% end %>

      <hr>

      <p><%= link_to raw('&laquo; Back'), locations_path, :class => 'btn btn-mini' %> <%= link_to 'Edit', edit_location_path(@location), :class => 'btn btn-mini' %></p>
    </div>
  </div>
</div>

Enable Show multiple beacons on location
Enable Show multiple beacons on location
