Skip to content

Instantly share code, notes, and snippets.

@cgarvis
Created January 30, 2012 18:25
Show Gist options
  • Save cgarvis/1705802 to your computer and use it in GitHub Desktop.
Save cgarvis/1705802 to your computer and use it in GitHub Desktop.
<?php
namespace app\extensions\helper;
class Form extends \lithium\template\helper\Form {
public function field($name, array $options = array()) {
$defaults = array(
'wrap' => 'control-group'
);
return parent::field($name, $options + $defaults);
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment