For example, the following code is the result of auto indent with the plugin:
<%=form_for@changeset,@action,fnf->%><%=if@changeset.actiondo%><divclass="alert alert-danger"><p>Oops, something went wrong! Please check the errors below.</p></div><%end %><divclass="form-group"><%=labelf,:name,class: "control-label" %><%=text_inputf,:name,class: "form-control" %><%=error_tagf,:name %></div><divclass="form-group"><%=submit"Submit",class: "btn btn-primary" %></div><%end %>
but it should be formatted like so:
<%=form_for@changeset,@action,fnf->%><%=if@changeset.actiondo%><divclass="alert alert-danger"><p>Oops, something went wrong! Please check the errors below.</p></div><%end %><divclass="form-group"><%=labelf,:name,class: "control-label" %><%=text_inputf,:name,class: "form-control" %><%=error_tagf,:name %></div><divclass="form-group"><%=submit"Submit",class: "btn btn-primary" %></div><%end %>
<%= .... %> with a corresponding <% end %> should be indented.
For example, the following code is the result of auto indent with the plugin:
but it should be formatted like so:
<%= .... %>with a corresponding <% end %> should be indented.