cakephp 3.0 - Customize login cakephp3 -
i have form this:
email
[input]
password
[input]
login-button
i want eliminate "email" , "password" text , put them inside inputs placeholder , change "login" text "login".
this login ctp.
<fieldset style="background:#f44336"> <?= $this->form->create() ?> <?= $this->form->input('email') ?> <?= $this->form->input('password') ?> <?= $this->form->button('login') ?> <?= $this->form->end() ?> <div class="forgot"> <p><a href="#">forgot password?</a></p> </div>
your question confusing , vague.
but believe asking dont want value or words "email" , "password" next input rather inside input textbox?
if so, can add html code inside html form
<input type="email" name="email_form" placeholder="email">
keep in mind html 5.
in html 4, traditional way adding attribute html form email or password value="email..."
Comments
Post a Comment