| <div class="section content-body"> <form action="/spaces/1-hall-a" class="space" method="post"> <div class="hidden-fields"> <input id="_method" name="_method" type="hidden" value="PUT" /> <input id="page_path" name="page_path" type="hidden" value="/spaces/1-hall-a/edit" /> <input name="authenticity_token" type="hidden" value="en5CiCa1XX90acJbm1EVgX9x0hI8ZHh1TyiUW/osVgw=" /> </div> <input id="form_y" name="form_y" type="hidden" /> <div class="actions"> <input class="button submit-button" type="submit" value="Save Space" /> or <a class="cancel spaces-link" href="/floors/1-first-floor/spaces">Cancel</a> </div> </form> <form action="/spaces/1-hall-a" append="true" class="space" method="post"> <div class="hidden-fields"> <input id="_method" name="_method" type="hidden" value="PUT" /> <input id="page_path" name="page_path" type="hidden" value="/spaces/1-hall-a/edit" /> <input name="authenticity_token" type="hidden" value="en5CiCa1XX90acJbm1EVgX9x0hI8ZHh1TyiUW/osVgw=" /> </div> <canvas id="map" class="floorplan" width="870" height="600"></canvas> <script language='JavaScript' type='text/javascript'> window.onload = function() { var m = new ERMap('map'); m.addImage("/system/layouts/1/jpg/BV-main%20level%20FP%2001-hazmat.jpg?1314970057", 3024, 2160); m.addDwgOrigin("/images/cursors/target-red.png", 48, 48, 1512.0, 1.0, "form_x", "form_y"); } </script> </form> </div> |
> I've narrowed this down to the <after-field-list> line copied below. When I'm trying to do is add some additional hidden field to the form. Is there some other method I should be using? It worked fine in RC2 but causes the entire form to be blank in the latest code from Git.
>
> <after-field-list:><%= hidden_field_tag(:form_x) %><%= hidden_field_tag(:form_y) %></after-field-list:>
I've fixed this:
https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/970
Gory details on the ticket. :)
Still digging on the <repeat> issue turning <% %> tags into output - looks like it's a different bug.
--Matt Jones
I *think* I've got this fixed now. There's a lot of confusing code revolving around new_context, which has two different places to tap the output (from the buffer and from the return value of the block). I've left a scrap of debug code in for the moment; any reports of DRYML code that dumps a line like this:
new_context: /some/backtrace/path:42
would be GREATLY appreciated. I'm also going to start working on a full-on DRYML test suite, as there are way more corner-cases than I would have believed possible...
--Matt Jones
--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
To post to this group, send email to hobo...@googlegroups.com.
To unsubscribe from this group, send email to hobousers+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.