Hi,
I am trying to create a contact form using the remote_form_tag, but I cannot get it to work.
<% remote_form_tag :url => {:action => :email_create} do %>
<%= label_tag 'name', 'Name: ' %><%= text_field_tag :name %>
<%= label_tag 'email', 'Email: ' %><%= text_field_tag :email %>
<%= label_tag 'message', 'Message: ' %><%= text_area_tag :message %>
<%= submit_tag 'Send' %>
<% end %>
The problem is that code throws errors.
Anyone have any idea what the problem is?
Thank you