$formOptions = [
'type' =>'post',
'action' =>'register',
];
$formName = "MyFormName";
echo $this->Form->create($formName, $formOptions);
echo $this->Form->end()
<form method="post" accept-charset="utf-8" action="/base_shop/register">
<div style="display:none;">
<input type="hidden" name="_method" value="POST">
</div>
</form>
echo $this->Form->create($formName, $formOptions);
echo $this->Form->input('name', [
'label' => '店舗名',
'placeholder' => '店舗の名前を入力してください',
'id' => 'name',
]);
echo $this->Form->end()
<form method="post" accept-charset="utf-8" action="/base_shop/register">
<div style="display:none;"><input type="hidden" name="_method" value="POST">
</div>
<div class="input text">
<label for="name">店舗名</label>
<input type="text" name="name" placeholder="店舗の名前を入力してください" id="name">
</div>
</form>