annotate models and add <hr> to index views for formularies and component_types