[Solved] Two form_tag on the same haml page


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

solved Two form_tag on the same haml page