From 25a39ed8280eec82cf792ab8b7850ec871ecbca9 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Sat, 30 Sep 2017 18:38:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=95=E5=8D=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/exercise/_exercise_index_tab.html.erb | 5 +++-- app/views/exercise/_exercises_list.html.erb | 6 ++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/app/views/exercise/_exercise_index_tab.html.erb b/app/views/exercise/_exercise_index_tab.html.erb index a9ae2f47a..8eaf28572 100644 --- a/app/views/exercise/_exercise_index_tab.html.erb +++ b/app/views/exercise/_exercise_index_tab.html.erb @@ -12,8 +12,9 @@ <%= form_tag(exercise_index_path(:course_id => @course.id, :type => @type), :remote => true , :method => 'get', :id => 'exercise_search_form') do %>
- - + + + ×
diff --git a/app/views/exercise/_exercises_list.html.erb b/app/views/exercise/_exercises_list.html.erb index 98732d61e..ed1030a52 100644 --- a/app/views/exercise/_exercises_list.html.erb +++ b/app/views/exercise/_exercises_list.html.erb @@ -26,10 +26,10 @@ <% end %>

+ <% if @is_teacher %>
+ <% end %> <% end %>