How to solve inserting parameters into the form?

Hello, I would like put some values into a form as hidden input fields.

I have got a function with name:
function detail($id = null)
//some app logic
$this->set('detail_values', $this->Company->read(null, $id));

In this function adding into detail view link, where putting as parameter id of company..
link should be>>

View of