diff --git a/app/views/recurring_items/_list.rhtml b/app/views/recurring_items/_list.rhtml index 2337729c992c2db007f03da73c57777c988a06c3..ec2f3c52384caf53e626d80a64fa376261f9eaab 100644 --- a/app/views/recurring_items/_list.rhtml +++ b/app/views/recurring_items/_list.rhtml @@ -1,5 +1,5 @@ <% ignored_columns = ["created_on", "updated_on"] %> -<% sorted_columns = ["description", "amount", "schedule_id"] %> +<% sorted_columns = ["description"] %> <% for column in RecurringItem.content_columns %> <% if not (ignored_columns + sorted_columns).include?(column.name) %> @@ -17,7 +17,7 @@ </tr> <% for recurring_item in @recurring_items %> - <tr class="<%= if recurring_item["amount"] < 0 then "debet" else "credit" end %>"> + <tr> <td><%= link_to 'Edit', :action => 'edit', :id => recurring_item %></td> <td><%= link_to 'Show', :action => 'show', :id => recurring_item %></td>