# Content parts for any model?

**URL:** <https://www.ruby-forum.com/t/content-parts-for-any-model/200163>\
**Category:** Radiant CMS\
**Created:** [December 6, 2010, 12:24pm UTC](https://www.ruby-forum.com/t/content-parts-for-any-model/200163 "2010-12-06T12:24:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [December 6, 2010, 12:24pm UTC](https://www.ruby-forum.com/t/content-parts-for-any-model/200163/1 "2010-12-06T12:24:50Z")

</div>

Hi all,

I’m working on two Radiant projects which need a custom model that  
has\_many parts just like Page does. I used to basically copy-paste stuff  
from the original radiant views to resemble the look&feel within the  
views of my model. Is there a more standard way to reuse the tabbed view  
of parts in another model?

Any help is appreciated. Kind regards,

Christian

---

<div class="post-metadata">

**Author:** ![Christian\_Aust](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/5daacb/32.png) [@Christian\_Aust](https://www.ruby-forum.com/u/Christian_Aust)\
**Post date:** [December 6, 2010, 3:47pm UTC](https://www.ruby-forum.com/t/content-parts-for-any-model/200163/2 "2010-12-06T15:47:00Z")

</div>

On Mon, Dec 6, 2010 at 6:24 AM, Christian Aust  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi all,
> 
> I’m working on two Radiant projects which need a custom model that has\_many  
> parts just like Page does. I used to basically copy-paste stuff from the original  
> radiant views to resemble the look&feel within the views of my model. Is there a  
> more standard way to reuse the tabbed view of parts in another model?

This is a definite goal. In fact, I’ll make a github issue about it.  
But I don’t have any guidance for you.

I’d like to create some helpers and re-examine the html/css/javascript  
to ensure that this is easy to do.

Please give your feedback on this and contribute to the prototype  
where we’ll work this out

> **[GitHub - radiant/radiant-prototype: Prototype of the user-interface of Radiant CMS.](https://github.com/radiant/radiant-prototype)**
>
> Prototype of the user-interface of Radiant CMS.

[http://prototype.radiantcms.org/admin/acme/widgets/edit](http://prototype.radiantcms.org/admin/acme/widgets/edit)
