Does anyone know how to tell me how I call the Bootstrap classes inside a form I generated using CodeIgniter? I've searched for an associative array, but I can not. For example, in the label I want to put class = 'sr-only' and in the input class="form-control input-lg".
echo form_open('crud/create');
echo validation_errors('<p>','</p>');
echo form_label('Nome Completo');
echo form_input(array('name'=>'nome'), '','autofocus');
echo form_label('Email');
echo form_input(array('name'=>'email'));
echo form_label('Login');
echo form_input(array('name'=>'login'));
echo form_label('Senha');
echo form_input(array('name'=>'senha'));
echo form_label('Repita a senha');
echo form_input(array('name'=>'senha2'));
echo form_submit(array('name'=>'cadastrar');
echo form_close();