在我的 cakephp 应用程序的渲染视图中出现一个反引号。它们有时出现在两个地方:
- 在身体的最开始
- echo $this->Form->create(); 之后
我看不到导致问题的模式。是否存在产生反引号的已知问题?
后面出现的反引号示例Form->create()
<div class="users form">
<h2><?php echo __('Change password'); ?></h2>
<?php
echo $this->Form->create();
echo $this->Form->input(
'password_new',
array(
'label' => 'New Password',
'type' => 'password',
'div' => 'input password required',
'required' => 'required',
)
);
echo $this->Form->input(
'password_new_confirm',
array(
'label' => 'New Password Again',
'type' => 'password',
'div' => 'input password required',
'required' => 'required',
)
);
echo $this->Form->end(__('Change password'));
?>
</div>
<div class="actions">
<?php echo $this->Html->link(__('Back To Settings'), array('action' => 'settings',)); ?>
</div>
HTML 输出截图: