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