You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a little trouble on applying an ERB linter for ERB templates generated by simple_form gem, as the ERB parser provided by better_html doesn't seem to support the <%% ... %%> format.
@r7kamura hey, that's not a template itself. It's a template that generates another template that is gonna be used when you do e.g rails g scaffold Post name:string. So looks like someone just copy pasted it directly into their app instead of using generator.
I'm having a little trouble on applying an ERB linter for ERB templates generated by simple_form gem, as the ERB parser provided by better_html doesn't seem to support the
<%% ... %%>
format.Unlike the general ERB format, lib/generators/simple_form/templates/_form.html.erb is using
<%% ... %%>
instead of<% ... %>
format. Is there any particular reason why this format is used here?The text was updated successfully, but these errors were encountered: