$('#element_<%= dom_id(@element) %>').hide() $('#element_form_<%= dom_id(@element) %>').html('<%= escape_javascript(render("fe/admin/panels/prop_element", element: @element)) %>') $('#element_form_<%= dom_id(@element) %>').show(); selectElement("#element_<%= @element.id %>")