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 %>
|
|
|
|
|
<span><%= t('admin.admin') %>:</span>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<%= render :partial=>"infos"%>
|
2012-10-15 05:54:29 +00:00
|
|
|
|
<%= render :partial=>"roles"%>
|