# Remote form not rendering

**URL:** <https://www.ruby-forum.com/t/remote-form-not-rendering/90826>\
**Category:** Rails\
**Created:** [April 2, 2007, 5:37am UTC](https://www.ruby-forum.com/t/remote-form-not-rendering/90826 "2007-04-02T05:37:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisolsen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c6cbf5/32.png) [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Post date:** [April 2, 2007, 5:37am UTC](https://www.ruby-forum.com/t/remote-form-not-rendering/90826/1 "2007-04-02T05:37:58Z")

</div>

I am making a todo list application for learning purposes, but am  
having problems with getting the ajax buttons to show up.

The below code does not render out any text. I did check the  
category.name value and it works fine when not within the  
form\_remote\_tag.

I do have the javascript libraries within the head tag.

In the final rendered output all I get is a bunch of li elements.

Thanks for any help.

- \<% form\_remote\_tag :url =\> {:action =\> :show\_tasks, :id =\> category} do %\> \<%= submit\_tag category.name %\> \<% end %\>

---

<div class="post-metadata">

**Author:** ![chrisolsen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c6cbf5/32.png) [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Post date:** [April 3, 2007, 4:23am UTC](https://www.ruby-forum.com/t/remote-form-not-rendering/90826/2 "2007-04-03T04:23:11Z")

</div>

Well it seems the issue was in the form\_remote\_tag. I used an older,  
deprecated, form tag and it then worked as it should.

I have looked over the syntax in comparison to a number of examples a  
book I have, and I can’t see anything wrong with it, but there must be  
something.

'The one that works

- \<%= form\_remote\_tag :url =\> {:action =\> :show\_tasks, :id =\> category} %\> \<%= submit\_tag category.name %\> \<%= end\_form\_tag %\>
