public function input(array $options)
    {
        $label = (!empty($options['name']) ? ucwords($options['name']) : '');

        return '
        <div class="input-field">
                '.parent::plainInput(array_merge([
            'class' => 'validate',
            'id'    => $this->genId($label),
        ], $options)).(empty($label) | (substr($label, 0,
                1) == '_') ? '' : '<label for="'.$this->genId($label).'">'.$this->inputToRead($label).'</label>').'
        </div>
        ';
    }
public function input(array $options)
    {
        $label = (!empty($options['name']) ? ucwords($options['name']) : '');

        return '
        <div class="input-field">
                '.parent::plainInput(array_merge([
            'class' => 'validate',
            'id'    => $this->genId($label),
        ], $options)).(empty($label) | (substr($label, 0,
                1) == '_') ? '' : '<label for="'.$this->genId($label).'">'.$this->inputToRead($label).'</label>').'
        </div>
        ';
    }
public function input ( array $ options ) { $ label = ( ! empty ( $ options [ 'name' ] ) ? ucwords ( $ options [ 'name' ] ) : '' ) ; return '
        <div class="input-field">
                ' . parent :: plainInput ( array_merge ( [ 'class' => 'validate' , 'id' => $ this -> genId ( $ label ) , ] , $ options ) ) . ( empty ( $ label ) | ( substr ( $ label , 0 , 1 ) == '_' ) ? '' : '<label for="' . $ this -> genId ( $ label ) . '">' . $ this -> inputToRead ( $ label ) . '</label>' ) . '
        </div>
        ' ; }
Generate an input area.

@param array $options

@return string
Generate an input area .