What happens when form builder radio and checkbox components has no label/help_text arg/slots passed in

The following discussion from !86403 (merged) should be addressed:

  • @tkuah started a discussion: (+1 comment)

    non-blocking, followup: If no help text, nor label content was provided the label text should fall back to the method.

    For example, in app/views/groups/_group_admin_settings.html.haml,

    f.label :lfs_enabled

    which will be rendered as:

    <label for="group_lfs_enabled">Lfs enabled</label>

    because Rails by default uses the method as the label text.

Edited by Thong Kuah