Ticket Details

$this->form->create bad output

BUG Ticket (closed)

###What happened:
in controller
{{{
$post = Post::find($id); //post exists
return compact('post');
}}}
in view
{{{
<?php echo $this->form->create($post); ?>
}}}
output is
{{{
<form action="/li07/posts/edit/4b97b93709700000000073f7" method="PUT">&lt;input type=&quot;hidden&quot; name=&quot;_method&quot; name=&quot;_method&quot; value=&quot;PUT&quot; /&gt;
}}}

###What was expected:
output in view
{{{
<form action="/li07/posts/edit/4b97b93709700000000073f7" method="POST"><input type="hidden" name="_method" name="_method" value="PUT" />
}}}

on 03.10.10 reported by: rafalfilipek owned by: gwoo

Updates

on 03.10.10 by rafalfilipek
  • description was changed
on 03.10.10 by gwoo
  • owner was changed to gwoo
  • status was changed to in progress
(fixed) on 03.10.10 by gwoo
  • status was changed to closed
  • resolution was changed to fixed
Fixed in 0.8 branch. see [b09f06f011085b72c78194e0e77ba67986bd1fba]