Pull logic into the controller from the view. There were only a couple of tiny differences between the running actions and the total actions view, so I added a couple of instance variables and then called the same template twice.