0

just installed ion auth for codeigniter and im customizing the login page.

the default login.php uses:

<?php echo lang('login_password_label', 'password');?>
<?php echo form_input($password);?>

which produces the following html results;

<label for="password">Password:</label><input type="password" name="password" value="" id="password"  />

i need to append size="55" to the input box, so it looks like this:

<label for="password">Password:</label><input type="password" size="55" name="password" value="" id="password"  />

any ideas how i would do that?

1 Answer 1

0
$password = array(
              'name'        => 'password',
              'id'          => 'password',
              'size'        => '55',
            );

echo form_password($password);
1
  • thanks for that info, worked perfectly! I saw that in the user guide but i thought it applied to regular values and not html or css values.
    – bnelsonjax
    Commented Jun 13, 2013 at 2:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.