diff --git a/app/views/homework_attach/edit.html.erb b/app/views/homework_attach/edit.html.erb
index 9a33ea992..8400eb805 100644
--- a/app/views/homework_attach/edit.html.erb
+++ b/app/views/homework_attach/edit.html.erb
@@ -1,3 +1,7 @@
+<% @nav_dispaly_course_all_label = 1
+ @nav_dispaly_forum_label = 1
+ @nav_dispaly_course_label = nil
+ @nav_dispaly_store_all_label = 1 %>