lib/ui_bibz/ui/core/forms/choices/choice_group.rb
def choice content = nil, opts = nil, html_options = nil, &block
      if block.nil?
        opts    = @options.merge(opts || {})
      else
        content = @options.merge(content || {})
      end

      @items << Choice.new(content, opts, html_options, &block).render
    end
def choice content = nil, opts = nil, html_options = nil, &block
      if block.nil?
        opts    = @options.merge(opts || {})
      else
        content = @options.merge(content || {})
      end

      @items << Choice.new(content, opts, html_options, &block).render
    end
See UiBibz::Ui::Core::Forms::Choices::Button.initialize