diff --git a/app/views/users/_user_homework_form.html.erb b/app/views/users/_user_homework_form.html.erb index 99b9812cc..9457ae3ed 100644 --- a/app/views/users/_user_homework_form.html.erb +++ b/app/views/users/_user_homework_form.html.erb @@ -164,20 +164,20 @@ <% unless edit_mode %> <% end %> - <% if edit_mode %> + <%# if edit_mode %> - <% end %> + <%# end %>
- + <% if homework.homework_detail_manual.comment_status.to_i < 2 %> <%= calendar_for('homework_end_time')%> <% end %>
- <% if edit_mode %> + <%# if edit_mode %> - <% end %> + <%# end %>
- + <% if homework.homework_detail_manual.comment_status.to_i == 0 %> <%= calendar_for('homework_publish_time')%> <% end %>