app/helpers/edgarj/form_drawer.rb in edgarj-4.06.09 vs app/helpers/edgarj/form_drawer.rb in edgarj-4.06.10

- old
+ new

@@ -155,13 +155,10 @@ _draw_head(col){ @vc.draw_bitset(@f, col, bitset, @options[:flags]) } end # draw 'belongs_to' field for AR def _draw_belongs_to_field(parent_model, col) - label = Settings.edgarj.belongs_to.popup_on == 'field' ? - nil : - @vc.draw_belongs_to_label(@f, @drawer.popup_path(col), col.name) - _draw_head(col, label){ + _draw_head(col, nil){ @vc.draw_belongs_to_field(@f, @drawer.popup_path(col), col.name) } end def draw_boolean(col)