User form_tag/end instead of start_form_tag/end_form_tag to avoid

deprecation warnings.
This commit is contained in:
Tom Hughes 2007-06-10 23:22:56 +00:00
parent f73ec4536f
commit aa52ebe674
10 changed files with 22 additions and 23 deletions

View file

@ -14,7 +14,7 @@
<% if @user %>
<%= start_form_tag({:action => 'create'}, :multipart => true) %>
<% form_tag({:action => 'create'}, :multipart => true) do %>
<table>
<table>
<tr><td align="right">upload GPX file:</td><td><%= file_field('trace', 'gpx_file', {:size => 50, :maxlength => 255}) %></td></tr>
@ -26,7 +26,7 @@
</td></tr>
</table>
<%= end_form_tag %>
<% end %>
<%= render (:partial => 'trace_paging_nav') %>
<table id="keyvalue" cellpadding="3">