$form = Fieldset::forge('my_form');
$form -> form()->set_attribute('class', 'custom');
$form = Fieldset::forge('my_form')which defines a custom form definition for this specific fieldset.
$form->set_config(Config::get('forms.loginform', Config::get('forms.default', array())));
It looks like you're new here. If you want to get involved, click one of these buttons!