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
syntax error
_erbout.concat "

"; _erbout.concat(( form_tag({:action =>
‘vo_res_census’}, {:target => “_new”}) do ).to_s)

what am I missing?

Craig W.

<% form_tag({:action => ‘vo_res_census’}, {:target => “_new”}) do -%>


I see said the blind man…

wow…that simply had me buffaloed



np, we have all been there :slight_smile: