Orbit/app/views/admin/users_new_interface/_form.html.erb

20 lines
527 B
Plaintext
Raw Normal View History

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"%>