clean up start_form_tag

trying to clean up deprecated code and I'm snagged...

this works
<%= start_form_tag({:action => 'vo_res_census'}, {:target => "_new"}) %>

this doesn't
<%= form_tag({:action => 'vo_res_census'}, {:target => "_new"}) do -%>

compile error
/home/storage/users/craig/svn/th-db/branches/phase5/config/../app/views/reports/forms_placements.rhtml:18: syntax error
_erbout.concat " <td>"; _erbout.concat(( form_tag({:action => 'vo_res_census'}, {:target => "_new"}) do ).to_s)

what am I missing?

<% form_tag({:action => 'vo_res_census'}, {:target => "_new"}) do -%>

-Bill

Craig White wrote:

I see said the blind man...

wow...that simply had me buffaloed

thanks

Craig

np, we have all been there :slight_smile:

Craig White wrote: