Hi,
I developed a few simple apps using Ruby On Rails (no database) for
researchers, we
got a new server (Mac Pro) and I try to develop in rails 4.0.4, I have this
piece of
code in index.rhtml, but not anymore if I copy it to index.html.erb, I
don't get
any error, but text_field_tag and submit_tag are not displaying, I read
manuals
about form_tag, text_field_tag and submit_tag, they don't seem to change
much, what I might be doing wrong? Thanks a lot for your advice.
<td valign=top>
<h3>Sample size calculation</h3>
<% form_tag('/progress') do %>
<table cellspacing=3 cellpadding=3>
<tr>
<td> Condition Number : </td><td><%= text_field_tag( "cond",
value = nil, :size => "10" ) %></td>
</tr>
<tr>
<td> Number of People : </td><td><%= text_field_tag( "no", value
= nil, :size => "10" ) %></td>
</tr>
<tr>
<td> <div><%= submit_tag "Compute" %></div></p>
</tr>
</table>
<% end %>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/2d81379c-e4b6-4aef-ad37-a6d6d9ea7610%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.