From 6d82d2ce1730c21c14b41cb00bfde82e7e426e99 Mon Sep 17 00:00:00 2001 From: yanxd Date: Thu, 2 Jan 2014 15:37:12 +0800 Subject: [PATCH] remove table with oneline --- app/views/bids/_history.html.erb | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/app/views/bids/_history.html.erb b/app/views/bids/_history.html.erb index 913c9e269..e08721c9c 100644 --- a/app/views/bids/_history.html.erb +++ b/app/views/bids/_history.html.erb @@ -1,14 +1,5 @@ - - - - <% else %> - - <% end %> - -
- <% if @bid.reward_type ==3 %> - <%=l(:label_student_response)%><%=l(:label_user_response)%>
- +<% tip1 = (@bid.reward_type == 3) ? l(:label_student_response) : l(:label_user_response) %> +

<%=tip1%>

<%= render :partial => 'new', :locals => {:bid => @bid, :sta => @state} %>