= f.label belongs_to[:key].to_sym
/ TODO: Needs some kind of configuration to set up display options
= f.select belongs_to[:key].to_sym, Category.all.map { |object| [object.name, object.id] }
= f.label belongs_to[:key].to_sym
/ TODO: Needs some kind of configuration to set up display options
= f.select belongs_to[:key].to_sym, belongs_to[:entity].all.map { |object| [object.name, object.id] }

Make belongs_to field actually be working for every belongs_to
Make belongs_to field actually be working for every belongs_to