Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function createComponentSignInForm()
- {
- $form = new Form;
- $form->addText('user')->setRequired();
- $form->addPassword('password')->setRequired();
- $form->addSubmit('send');
- return $form;
- }
- <form n:name=signInForm class=form>
- <p><label n:name=user>Username: <input n:name=user size=20></label>
- <p><label n:name=password>Password: <input n:name=password></label>
- <p><input n:name=send class="btn btn-default">
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement