Nesting cells?

9 views
Skip to first unread message

Mike Pence

unread,
Oct 8, 2013, 5:39:56 PM10/8/13
to cells-an...@googlegroups.com
What is the best approach for nesting cells -- say, for example, I want to have a bunch of form field cells in a form cell...

Nick Sutterer

unread,
Oct 9, 2013, 7:40:44 PM10/9/13
to cells-an...@googlegroups.com
You can use render_cell in a cell view.

Alternatively, you could consider using Apotomo (I know that you know it ;)

I was thinking about an easier transition from Cells to Apotomo the last years - an easy way to define nested cells could be a start. Would you fancy some declarative style for defining the nesting, a la

class CommentFormCell < Cell::Rails
  contains :text_field, :subject # refers to TextFieldCell
  contains :text_field, :body



2013/10/8 Mike Pence <mike....@gmail.com>
What is the best approach for nesting cells -- say, for example, I want to have a bunch of form field cells in a form cell...

--
Sie erhalten diese Nachricht, weil Sie Mitglied der Google Groups-Gruppe "Cells and Apotomo" sind.
Um Ihr Abonnement für diese Gruppe zu beenden und keine E-Mails mehr von dieser Gruppe zu erhalten, senden Sie eine Email an cells-and-apot...@googlegroups.com.
Weitere Optionen: https://groups.google.com/groups/opt_out

Mike Pence

unread,
Oct 10, 2013, 11:04:50 AM10/10/13
to Nick Sutterer, cells-an...@googlegroups.com
Is the Apotomo site down for anyone else?

-- 
Mike Pence
Sarasota, FL
Reply all
Reply to author
Forward
0 new messages