nxhtml team mailing list archive
-
nxhtml team
-
Mailing list archive
-
Message #00228
[Question #110755]: Rails and .html.erb files
New question #110755 on nXhtml:
https://answers.launchpad.net/nxhtml/+question/110755
This is probably more of a mumamo question. In Rails' view files, there are things like:
<p style='width: 40em;'>
Enter a defect, APAR, PTF, Lpp name (e.g. bos.rte) or Fileset
(e.g. bos.rte 5.3.0.30 -- with the space. The VRMF can be
incomplete such as 5.3.8)
<% form_tag swinfos_form_path do -%>
<%= text_field_tag "item" %>
<%= submit_tag nil, :class => "concat-fields" %>
<% end -%>
</p>
The <% ruby code... do %> starts a new indent level. With my current set up, the ruby code is recognized but if I hit tab on the two lines that start with <%=, the first one is indented by 4 and the second is indented by 2. In other places in this file, the same basic thing indents the first by 2 and the second by 0. So, it isn't really understanding things.
I plan to play around with this but thought I'd post here to see if anyone has solved this yet. Surfing the net didn't find any real solutions.
Thanks,
Perry
You received this question notification because you are a member of
nXhtml, which is an answer contact for nXhtml.