How to show HTML RoR as regular text

Hi all

I want to display on my page and example of viewer as a regulat text,
but after adding it in the design mode in Dreamweaver, whe I open the
page in my browser, ot shos nt as text, but it executes the code.

here is te example:

Hello!!! <%= start_form_tag :controller=>'greet', :action=>'say_hi' %>

Enter Your N.: <%= text_field_tag :textName, nil, :size=> 20 %>

<%= @message %>

<%= submit_tag( "Hello") %>

<%= end_form_tag %>

Jose P. wrote:

<%= end_form_tag %>

I’m sorry I’m not sure I understand your question… do you NOT want the
code to execute?
Cheers
Mohit.

enclose the html in

 tags

On 10/8/06, Mohit S. [email protected] wrote:

Cheers
Mohit.


Never be afraid to try something new. Remember, amateurs built the ark;
professionals built the Titanic!

Leon,

it works fine withe the

 tags

thanks

http://www.jsnit.com/mambo/index.php?option=com_content&task=view&id=52&Itemid=109
Leslie wrote:

enclose the html in

 tags

On 10/8/06, Mohit S. [email protected] wrote:

Cheers
Mohit.


Never be afraid to try something new. Remember, amateurs built the ark;
professionals built the Titanic!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs