Rails: ActiveAdmin + Devise -
good afternoon. i'm beginner in rails , i'm starting project in college , need help. have users don't need sign up. create users. then, decided use gem activeadmin, , can add users through graphic interface. thought easy but, after finish installation, tried add user , i've got surprise: have fields created devise edit. http://i.stack.imgur.com/yak1h.png
i wanna know if there way can edit fields created me, , other fields automatically fill, if i'm creating new user devise.
p.s: wanna lines follow, not entire resolution. i'm lost rs.
yes, can set inputs want appear in form:
activeadmin.register adminuser form |f| f.inputs f.input :email f.input :password end f.actions end end
the rest of inputs filled devise.
docs activeadmin form: https://github.com/gregbell/active_admin/blob/master/docs/5-forms.md
Comments
Post a Comment