2012-10-08 08:58:33 +00:00
|
|
|
|
<div class="user-info">
|
|
|
|
|
<div class="user-avatar pull-left">
|
|
|
|
|
<p class="reflective"></p>
|
|
|
|
|
<% if @user.avatar? %>
|
|
|
|
|
<%= image_tag(@user.avatar.thumb.url) %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= image_tag "person.png" %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= file_field_tag 'file' %>
|
|
|
|
|
<%= hidden_field_tag :avatar_cache %>
|
|
|
|
|
</div>
|
|
|
|
|
<label>
|
|
|
|
|
<%= f.check_box :admin %>
|
2013-01-18 02:37:55 +00:00
|
|
|
|
<span><%= t("admin") %>:</span>
|
2012-10-08 08:58:33 +00:00
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<%= render :partial=>"infos"%>
|
2012-10-24 06:46:25 +00:00
|
|
|
|
<%= render :partial=>"roles"%>
|