<% skills_by_cat.each_slice(3) do |slice| %>
  <div class="row">
    <% slice.each_with_index do |skill_cat, index| %>
    <div class="col-sm-4">
      <h4><%= skill_cat.name %></h4>
      <ul>
        <% skill_cat.skills.each do |skill| %>
        <li><%= skill.name %></li>
        <% end %>
      </ul>
     </div>
    <% end %>
  </div>
<% end %>

<% skills_by_cat.each_slice(3) do |slice| %>
  <div class="row">
    <% slice.each_with_index do |skill_cat, index| %>
    <%# Nasty bit o' hack to get columns working under PDF %>
    <% if request.format == :pdf %>
    <div class="col-xs-4">
    <% else %>
    <div class="col-sm-4">
    <% end %>
      <h4><%= skill_cat.name %></h4>
      <ul>
        <% skill_cat.skills.each do |skill| %>
        <li><%= skill.name %></li>
        <% end %>
      </ul>
     </div>
    <% end %>
  </div>
<% end %>

Address some issues with skills in the PDF layout
Address some issues with skills in the PDF layout

Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
