[Solved] Two form_tag on the same haml page

[ad_1]

Form_tag (under haml) doesn’t generate </form> into final source. form_for works fine. To get correct final source, form_tag has to be use with do. So correct first line will be

= form_tag({action:'index'}, {method: :get}) do

[ad_2]

solved Two form_tag on the same haml page