anchor.diff:                  $(this).attr("onclick", "<%= raw(Myp.select_listitem('#' + fieldid)) %>");
                 });
               });
  -            <% if autofocus %>
  +            <% if autofocus && !existingcollapsed %>
               maybeFocus($("#<%= random_name %>_searchable_container input"));
               <% end %>
             });
  
positive.code: <%
  existingobj ||= Myp.new_model(objform[0..(objform.index('/')-1)].singularize.camelize.constantize)
  collapsed = collapsed.nil? ? false : collapsed
  %>
  <div data-role="collapsible" data-collapsed="<%= collapsed %>">
    <h4><%= heading %></h4>
    <div data-role="collapsible-set">
      <div data-role="collapsible" data-collapsed="false">
        <%= f.fields_for name, existingobj do |sub_fields| %>
          <%
            random_name = SecureRandom.hex(10)
  
negative.code:       <% end %>
      </div>
      <% if !edit %>
        <div data-role="collapsible" data-collapsed="<%= !existingcollapsed %>">
          <%= f.fields_for name, existingobj do |sub_fields| %>
            <h3><%= (edit ? t("myplaceonline.general.edit") : t("myplaceonline.general.new")) + " " + heading %></h3>
            <%= render partial: objform + ".html", locals: { f: sub_fields, obj: existingobj, edit: edit, autofocus: autofocus } %>
  