try using simple_form.