You maybe able to use Formtastic to simplify this.