<%= content_tag(:div, :id=>dom_id(structure), :class=>"row-container") do %>
<%= link_to structure.title, edit_structure_record_path(structure), :class=>(structure.descendants_count.zero? ? "dark-text" : "dark-arr"), :id=>"a#{structure.id}" %>
<% unless structure.descendants_count.zero? %> <%= content_tag(:div, :class=>"stage", :id=>"structure_#{structure.id}_children") do %> <%= render :partial=>"manage/structures/structure", :collection=>structure.children %> <% end %> <% end %> <% end %>