Good idea, those 3 conditional branches have ended up looking very similar. Doing something like the following could be useful:

```ruby
<%= category.render %>
```