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

10 lines
196 B
Plaintext

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