Edge Rails gets layouts for partials
Edge Rails picked up a new feature today we’ve often longed for at Collective Idea. Partials can have a layout:
This would wrap the user partial with the admin
layout, which in this example adds an edit link for the admin user:
Another cool feature in this patch is the ability to add a layout to any block in a template, for those one-off situations, or to just tidy up repeated markup:
This content is open source.
Suggest Improvements.