# Render :template render:partial

**URL:** <https://www.ruby-forum.com/t/render-template-render-partial/143963>\
**Category:** Rails\
**Created:** [July 24, 2008, 7:34am UTC](https://www.ruby-forum.com/t/render-template-render-partial/143963 "2008-07-24T07:34:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sijo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/da6949/32.png) [@sijo](https://www.ruby-forum.com/u/sijo)\
**Post date:** [July 24, 2008, 7:34am UTC](https://www.ruby-forum.com/t/render-template-render-partial/143963/1 "2008-07-24T07:34:32Z")

</div>

Hi  
In the main file i have to include a code portion (just one table with  
an image\_tag…) as

| \<%=image\_tag("/images/menu/big.png", {:class=\>"noborder"})%\> | User Profile |

```
 This has to be included in several other files .. So I put this in

```

another file which is not a partial file.And tried to call it like

\<%= render :template=\>‘user\_profile/user\_profile\_header\_picture.rhtml’  
%\>

But this is not working…And if it were a partial file I could do it  
successfully like

\<%= render :partial=\>‘user\_profile/user\_profile\_header\_picture.rhtml’ %\>

```
 So my question is, to include such a file should it be

```

partial.Can’t i include a non partial file? And also what is the use of  
render :template ?

Thanks in advance  
Sijo
