Form Override in ActiveScaffoldBatch

27 views
Skip to first unread message

Atastor

unread,
Sep 27, 2012, 9:14:53 AM9/27/12
to actives...@googlegroups.com
I have overridden a form column in my project with an xyz_form_column.html.erb partial. I now introduced active_scaffold_batch in the columns controller. Whats the best way to reuse the partial in the batch-form?

RM

Sergio Cambra

unread,
Sep 27, 2012, 2:12:26 PM9/27/12
to actives...@googlegroups.com

In batch create form it should use the same

 

On Jueves, 27 de septiembre de 2012 06:14:53 Atastor escribió:

I have overridden a form column in my project with an xyz_form_column.html.erb partial. I now introduced active_scaffold_batch in the columns controller. Whats the best way to reuse the partial in the batch-form?


RM


--
You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group.
To view this discussion on the web visit https://groups.google.com/d/msg/activescaffold/-/3YlF886Aq7EJ.
To post to this group, send email to actives...@googlegroups.com.
To unsubscribe from this group, send email to activescaffol...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en.



Atastor

unread,
Oct 1, 2012, 3:21:42 AM10/1/12
to actives...@googlegroups.com
Oh, good to know, didnt check create so far :-)

What path do I have to take to make it work in update as well?

Sergio Cambra

unread,
Oct 2, 2012, 4:06:03 AM10/2/12
to actives...@googlegroups.com
updates are different, I think is not possible to use the same.

You must use <class_name>_<column>_update_column or <column>_update_column
Reply all
Reply to author
Forward
0 new messages