Exemplo n.º 1
0
 /**
  * Creates a button with class .btn-default and the given contents
  *
  * @param string $contents The contents of the button The contents of the
  *                         button
  * @return \Bootstrapper\Button 
  * @static 
  */
 public static function normal($contents = '')
 {
     return \Bootstrapper\Button::normal($contents);
 }
Exemplo n.º 2
0
 /**
  * Create a HTML button element.
  * Overriding the default button to add the correct class from Laravel\Form
  *
  * @param string $value text value of button
  * @param array $attributes array of attributes for button
  * @param bool $hasDropdown button has dropdown
  *
  * @return string
  */
 public static function button($value = null, $attributes = array(), $hasDropdown = false)
 {
     return Button::normal($value, $attributes, $hasDropdown);
 }