# What is wrong with this code?

**URL:** <https://discuss.rubyonrails.org/t/what-is-wrong-with-this-code/2562>\
**Category:** rubyonrails-talk\
**Created:** [October 4, 2006, 2:23am UTC](https://discuss.rubyonrails.org/t/what-is-wrong-with-this-code/2562 "2006-10-04T02:23:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_N](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@Daniel\_N](https://discuss.rubyonrails.org/u/Daniel_N)\
**Post date:** [October 4, 2006, 2:23am UTC](https://discuss.rubyonrails.org/t/what-is-wrong-with-this-code/2562/1 "2006-10-04T02:23:14Z")

</div>

> Hi. What is wrong with this code: Do I have to create the button as a RoR special tag? how?
> 
> Hello!!! \<%= start\_form\_tag :controller=\>'greet', :action=\>'say\_hi' %\> 
> 
> Enter Your Name:
> 
> \<%= @message %\>

```
 <p>

    <%= submit_tag "Save" -%>

```

> \<%= end\_form\_tag %\>

The submit\_tag helper is what your after

[http://api.rubyonrails.org/classes/ActionView/Helpers/FormTagHelper.html#M000502](http://api.rubyonrails.org/classes/ActionView/Helpers/FormTagHelper.html#M000502)
