Skip to content

form_tag bundle operation returns non-working code by default #7

Description

@infininight

Bundles -> Ruby on Rails -> View Templates -> form_tab (ft->|)
returns
<% form_tag(:action => "update", {:class => "users"}) do %>
which results in:

Showing /Users/tom/projects/jq_search/app/views/users/index.html.erb where line #6 raised:

/Users/tom/projects/jq_search/app/views/users/index.html.erb:6: syntax error, unexpected ')', expecting tASSOC
form_tag(:action => "update", {:class => "form"}) do
^
/Users/tom/projects/jq_search/app/views/users/index.html.erb:41: syntax error, unexpected keyword_ensure, expecting $end
Extracted source (around line #6):

6: <% form_tag(:action => "update", {:class => "form"}) do %>
7:
8: <% end -%>


Moved from old textmate repository, original report from @tallison63

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions