<% render partial: 'about/subnav' %>

A hat is a formal, verified, way of posting a comment while speaking for a project, organization, or company. Each user may have multiple hats, one of which may be selected to be worn when posting a comment or sending a private message.

<% if @user %>

Request Hat

<% end %> <% @hat_groups.keys.sort_by{|a| a.downcase }.each do |hg| %> <% @hat_groups[hg].sort_by{|hh| hh.user.username.downcase }.each do |hh| %> <% end %> <% end %>
User Hat Link
<%= styled_user_link hh.user %> <%= hh.to_html_label %> <% if hh.link.to_s.match(/^http/) %> <%= hh.link %> <% elsif hh.link.blank? %> None <% else %> <% if @user %> <%= hh.link %> <% else %> <%= hh.sanitized_link %> <% end %> <% end %> <% if hh.doffed_at? %> doffed <%= time_ago_in_words_label(hh.doffed_at) %> <% end %>