Accessing object of form in formtastic

后端 未结 1 1433
被撕碎了的回忆
被撕碎了的回忆 2021-02-20 03:26

So I\'m making a survey app. The users choose a type of form on the backend, and it displays as a certain type on the front end. That\'s only ideally, of course. What happens no

相关标签:
1条回答
  • 2021-02-20 03:55

    You can access the form's object like:

    f.object
    
    0 讨论(0)
提交回复
热议问题