Skip to content

Commit

Permalink
Issue #248 Renaming some variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahdi authored and Mahdi committed Apr 25, 2014
1 parent 898845c commit 42a785a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tutor/app/views/students/failed_problems.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Failed Problems :- <br>
<% @failure_list.each do |c| %>
<% @failure_list.each do |failed| %>
Problem: <%= c.problem_id %><br>
<% end %>
9 changes: 6 additions & 3 deletions tutor/app/views/students/get_performance.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
library: {bar: {groupWidth: "10%"}},
colors: ["lightblue"]
%>
<form action="/students/solved_problems" class="button_to" method="get"><div><input class="btn btn-success" style=" margin-left:150px; margin-right:auto; margin-top: 60px" type="submit" value="Solved Ones" /></div></form>
<form action="/students/failed_problems" class="button_to" method="get"><div><input class="btn btn-success" style="margin-left: 350px; margin-right:auto; margin-top: -63px" type="submit" value="Failed Ones" /></div></form>
<form action="/students/incomplete_problems" class="button_to" method="get"><div><input class="btn btn-success" style="margin-left: 550px; margin-right:auto; margin-top: -110px" type="submit" value="Uncompleted Ones" /></div></form>
<form action="/students/solved_problems" class="button_to" method="get"><div>
<input class="btn btn-success" style="margin-left: 150px; margin-right:auto; margin-top: 60px" type="submit" value="Solved Ones" /></div></form>
<form action="/students/failed_problems" class="button_to" method="get"><div>
<input class="btn btn-success" style="margin-left: 350px; margin-right:auto; margin-top: -63px" type="submit" value="Failed Ones" /></div></form>
<form action="/students/incomplete_problems" class="button_to" method="get">
<div><input class="btn btn-success" style="margin-left: 550px; margin-right:auto; margin-top: -110px" type="submit" value="Uncompleted Ones" /></div></form>
2 changes: 1 addition & 1 deletion tutor/app/views/students/incomplete_problems.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Incomplete Problems :- <br>
<% @incomplete_list.each do |c| %>
<% @incomplete_list.each do |incomplete| %>
Problem: <%= c.problem_id %>
<% end %>
4 changes: 1 addition & 3 deletions tutor/app/views/students/solved_problems.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

Solved Problems :- <br>
% @solved_list.each do |c| %>
<% @solved_list.each do |solved| %>
Problem: <%= c.problem_id %><br>
<% end %>

0 comments on commit 42a785a

Please sign in to comment.