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

20 lines
551 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 %>
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"%>
<%= render :partial=>"roles"%>