You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a new model review_bids_controller has the actions specific to the students and the actions specific to the instructors shall be in the lottery_controller.
The view with the colors has been implemented here. <tr style= <%= "background-color:rgb("+ (400*(1-(Math.tanh(2*@max_team_size.to_f/Bid.where(topic_id:topic.id).count,1].min-1)+1)/2)).to_i.to_s+","+ (400*(Math.tanh(2*[@max_team_size.to_f/Bid.where(topic_id:topic.id).count,1].min-)+1)/2).to_i.to_s+",0)" %>id="topic_<%= topic.id %>"><% end %>
Trying to implement this and see.
The color shade has been implemented in the view of the student.
There is refactoring to be done both in the review_bid.html.erb and review_bids_controller.rb because of this change.
No description provided.
The text was updated successfully, but these errors were encountered: