users: move hats down to other personal things - merged with i18n

This commit is contained in:
Carl Chenet 2017-05-23 13:10:38 +02:00
parent 4537718dce
commit 6668b1a992

View file

@ -67,16 +67,6 @@
<br>
<% end %>
<% if @showing_user.hats.any? %>
<label class="required"><%= t('.hats') %></label>
<div class="d">
<% @showing_user.hats.each do |hat| %>
<%= hat.to_html_label %>
<% end %>
</div>
<div style="clear: both;"></div>
<% end %>
<% if @showing_user.deleted_at? %>
<label class="required"><% t('.left') %></label>
<span class="d">
@ -115,6 +105,17 @@
</span>
<br>
<% if @showing_user.hats.any? %>
<label class="required"><%= t('.hats') %></label>
<div class="d">
<% @showing_user.hats.each do |hat| %>
<%= hat.to_html_label %>
<% end %>
</div>
<div style="clear: both;"></div>
<% end %>
<% if @showing_user.github_username.present? %>
<label class="required">GitHub:</label>