laravel/laravel — pull request #929 by franzliedke (2012-07-09 21:52:16+00:00)
Title: [Forms] Radio group helper

As radio buttons usually come in a herd, a helper for a typical radio group would be quite helpful. Typically, it would have the same API as the`Form::select` helper.

If I remember correctly, that would make it something like this:

Form::radiogroup('name', array(1 => 'option one', 2 => 'option two', 1, array())

(with the third parameter being the selected option (could be `NULL`, too) and the fourth parameter an associative array of HTML attributes to be set.

---

Why this is not yet ready for being merged:
Radio groups don't make sense without lavels wrapping or at least preceding every option, so I am looking for comments and innovative input here.