20 lines
527 B
Plaintext
20 lines
527 B
Plaintext
<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"%>
|
||
|