File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -371,23 +371,23 @@ The empty index action gives the clean pass to a view with the form definition (
371371``` html
372372<h2 >Sign up using this form</h2 >
373373
374- <?php echo $this->tag->form(" signup/register"); ?>
374+ <?php echo $this->tag->form(["action" => " signup/register"] ); ?>
375375
376376 <p >
377377 <label for =" name" >Name</label >
378- <?php echo $this->tag->textField ("name"); ?>
378+ <?php echo $this->tag->inputText ("name"); ?>
379379 </p >
380380
381381 <p >
382382 <label for =" email" >E-Mail</label >
383- <?php echo $this->tag->textField ("email"); ?>
383+ <?php echo $this->tag->inputText ("email"); ?>
384384 </p >
385385
386386 <p >
387- <?php echo $this->tag->submitButton ("Register"); ?>
387+ <?php echo $this->tag->inputSubmit ("Register"); ?>
388388 </p >
389389
390- </ form >
390+ <?php echo $this->tag->close(' form'); ? >
391391```
392392
393393Viewing the form in your browser will display the following:
You can’t perform that action at this time.
0 commit comments