Fix coding standards.

This commit is contained in:
mark_story 2012-09-03 20:09:13 -04:00
parent eb33929829
commit 771cfde196
3 changed files with 12 additions and 5 deletions

View file

@ -1611,8 +1611,15 @@ class FormHelper extends AppHelper {
$formName = uniqid('post_');
$formUrl = $this->url($url);
$out = $this->Html->useTag('form', $formUrl, array('name' => $formName, 'id' => $formName, 'style' => 'display:none;', 'method' => 'post'));
$out .= $this->Html->useTag('hidden', '_method', ' value="' . $requestMethod . '"');
$out = $this->Html->useTag('form', $formUrl, array(
'name' => $formName,
'id' => $formName,
'style' => 'display:none;',
'method' => 'post'
));
$out .= $this->Html->useTag('hidden', '_method', array(
'value' => $requestMethod
));
$out .= $this->_csrfField();
$fields = array();