/** * Create a button element. * * @param string $value * @param array $options * * @return string */ public function button($value = null, $options = []) { if (!array_key_exists('type', $options)) { $options['type'] = 'button'; } return '<button' . $this->html->attributes($options) . '>' . $value . '</button>'; }
/** * {@inheritdoc} */ protected function listingElement($key, $type, $value) { return $this->raw(parent::listingElement($key, $type, $value)); }