<commit_before><?php
namespace Lucid\Html\Bootstrap\Tags;
use \Lucid\html\html;

class Button extends \Lucid\Html\Tag
{
    use \Lucid\Html\Bootstrap\Traits\Pullable, \Lucid\Html\Bootstrap\Traits\Modifiable, \Lucid\Html\Bootstrap\Traits\Sizeable, \Lucid\Html\Bootstrap\Traits\Activable;

    public $bootstrapModifierPrefix   = 'btn';
    public $bootstrapModifiersAllowed = ['primary', 'secondary', 'success', 'info', 'danger', 'warning', 'link', 'primary-outline', 'secondary-outline', 'success-outline', 'info-outline', 'danger-outline', 'warning-outline', ];
    public $bootstrapSizePrefix       = 'btn';
    public $bootstrapSizesAllowed     = ['sm', 'lg', ];

    public $parameters = ['child','modifier', 'onclick', 'type'];

    public function init()
    {
        $this->addClass('btn');
        parent::init();
    }
}<commit_msg>adding type attribute so that buttons do not submit forms:<commit_after><?php
namespace Lucid\Html\Bootstrap\Tags;
use \Lucid\html\html;

class Button extends \Lucid\Html\Tag
{
    use \Lucid\Html\Bootstrap\Traits\Pullable, \Lucid\Html\Bootstrap\Traits\Modifiable, \Lucid\Html\Bootstrap\Traits\Sizeable, \Lucid\Html\Bootstrap\Traits\Activable;

    public $bootstrapModifierPrefix   = 'btn';
    public $bootstrapModifiersAllowed = ['primary', 'secondary', 'success', 'info', 'danger', 'warning', 'link', 'primary-outline', 'secondary-outline', 'success-outline', 'info-outline', 'danger-outline', 'warning-outline', ];
    public $bootstrapSizePrefix       = 'btn';
    public $bootstrapSizesAllowed     = ['sm', 'lg', ];

    public $parameters = ['child','modifier', 'onclick', 'type'];

    public function init()
    {
        $this->addClass('btn');
        $this->type = 'button';
        parent::init();
    }
}
{'fraction_non_alphanumeric': 0.17035775127768313, 'fraction_numerical': 0.0, 'mean_word_length': 4.063218390804598, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4096422', 'n_tokens_mistral': 559, 'n_tokens_neox': 555, 'n_words': 109}