Creating a form nothing special:
<?php echo $this->Form->create('User', array('id' => 'Registration', 'controller' => 'users', 'action' => registration' ));?>
<form accept-charset="utf-8" action="/register" method="post" controller="users" id="Registration">
…form….
<div style="display: none;"><input type="hidden" value="POST" name="_method"></div>
Where is controller="users" in the html code coming from?
Never seen this before.
DAve
No comments:
Post a Comment