Exemplo n.º 1
0
    /**
     * Create a file input with the Bootstrap input-file class.
     *
     * @param string $name name of the file control
     * @param array $attributes attributes for control
     *
     * @return string
     * @see Laravel\Form::file()
     */
    public static function file($name, $attributes = array())
    {
        $attributes = Helpers::add_class($attributes, 'input-file');

        return parent::file($name, $attributes);
    }