Topic: Duplicate code in view
I'm working on a budgeting app and have written the following view: https://gist.github.com/3813683 to display a budget report. I feel like I have a lot of duplicate code in here, but I'm not sure the best way to simplify it. I thought about moving some stuff to helpers, but it seems like helpers aren't really designed to output HTML. Thanks for your time.