# Rendering this to the html page

**URL:** <https://www.ruby-forum.com/t/rendering-this-to-the-html-page/121360>\
**Category:** Rails\
**Created:** [November 27, 2007, 8:17am UTC](https://www.ruby-forum.com/t/rendering-this-to-the-html-page/121360 "2007-11-27T08:17:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ed8c4c/32.png) [@nad](https://www.ruby-forum.com/u/nad)\
**Post date:** [November 27, 2007, 8:17am UTC](https://www.ruby-forum.com/t/rendering-this-to-the-html-page/121360/1 "2007-11-27T08:17:52Z")

</div>

hi guys,

i have develop some coding like login forms and registration forms in  
normal ROR way. they are working 100% ok as i want.

bt not i have created the html interface to my page and find dificult to  
add the ROR components that i have created to the newly design web  
interface.

For a example.

in the in my HTML file i have a allocate separate area(in the top right  
hand corner of the page.) to add my login box i created in the ROR way.  
i find difficult to integrate them together. even tried some codings in  
the net to my taks. bt fails.

My html file is named as index. html and my login form is in the  
app/login/login.rhtml

```
                <!--Side Box Begin-->
      <div class="side-box-top">
        <div class="OrangeTitleMedium">User Login</div>
      </div>
      <div class="side-box-middle">

                            ###### login form should comes here.....
                               (that i have design in the

```

app/login/login.rhtml )

```
         </div>
      <div class="side-box-bottom">.</div>
       <!--Side Box End-->

```

can some body help me with this…

Thankssssssssssssssssss

---

<div class="post-metadata">

**Author:** ![nad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ed8c4c/32.png) [@nad](https://www.ruby-forum.com/u/nad)\
**Post date:** [November 27, 2007, 8:30am UTC](https://www.ruby-forum.com/t/rendering-this-to-the-html-page/121360/2 "2007-11-27T08:30:44Z")

</div>

On Nov 26, 2007, at 11:17 PM, Nadeesha M. wrote:

> i have develop some coding like login forms and registration forms in  
> normal ROR way. they are working 100% ok as i want.
> 
> bt not i have created the html interface to my page and find  
> dificult to  
> add the ROR components that i have created to the newly design web  
> interface.

See if the discussions in this article helps you…

[http://www.railsdev.ws/blog/3/modular-page-assembly-in-rails/](http://www.railsdev.ws/blog/3/modular-page-assembly-in-rails/)

– gw (www.railsdev.ws)

---

<div class="post-metadata">

**Author:** ![nad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ed8c4c/32.png) [@nad](https://www.ruby-forum.com/u/nad)\
**Post date:** [November 27, 2007, 12:00pm UTC](https://www.ruby-forum.com/t/rendering-this-to-the-html-page/121360/3 "2007-11-27T12:00:43Z")

</div>

Greg W. wrote:

> On Nov 26, 2007, at 11:17 PM, Nadeesha M. wrote:
> 
> > i have develop some coding like login forms and registration forms in  
> > normal ROR way. they are working 100% ok as i want.
> > 
> > bt not i have created the html interface to my page and find  
> > dificult to  
> > add the ROR components that i have created to the newly design web  
> > interface.
> 
> See if the discussions in this article helps you…
> 
> [WEBSITE.WS - Your Internet Address For Life™](http://www.railsdev.ws/blog/3/modular-page-assembly-in-rails/)
> 
> – gw (www.railsdev.ws)

thanks for the link pal.

i got some idea by going through it. bt the case is early also i used  
the a code look this

(render(:partial =\> (controller.action\_name + “\_left”)) rescue nil) %\>

but here is seems the page we are going to render has to be in the same  
controller (means same sub folder in the app folder) (i do not sure  
weather i am 100% correct on this.)

bt i want to call for a different controller with a action how to  
achive it/.

thanksssssssss
