[dancer-users] updating a form
Stefan Hornburg (Racke)
racke at linuxia.de
Mon Feb 10 13:48:04 GMT 2014
On 02/10/2014 02:37 PM, Gert van Oss wrote:
> Hi,
>
> I’m trying to build a small app to comment on images. Probably I’m almost there but currently stuck with updating a ‘file.yml' by a html-form.
>
> I’ve made two routes (shown below) “get ‘/:id/edit’ for showing the form with the particular image to comment on. When hitting save the ‘post ‘/edit’ will be called. My problem is that the post route doesn’t have the $id initialised. Is there someone around who can tell me how to solve this or point to me what I’m doing wrong?
>
Do you have a hidden from field in your form which passes the id to the post route?
Regards
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
More information about the dancer-users
mailing list