[ticket/349] Pass link_id to form when submitting edited link

Fixes #349