socialforge/app/views/users/user_homeworks.html.erb

10 lines
197 B
Plaintext

<!-- added by fq -->u
<!--huang-->
<% if @user.user_extensions.identity == 0 %>
<%= render :partial => 'my_create_homework' %>
<% else %>
<%= render :partial => 'my_homework' %>
<% end %>