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

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -