<% tree.each do |projectnode| %>
<% if projectnode[:object].is_a? String %>
<div class="row" style="padding-left: <%= 1 + projectnode[:depth] %>em; margin-right: 0px">
<% tree.each do |projectnode| %>
<% if projectnode[:object].is_a? String %>
<div class="row" style="padding-left: <%= 1 + projectnode[:depth] %>em; margin-right: 0px">
else
row_name = projectnode[:object].friendly_link_name || 'New project'
end %>
<div class="<%= 'selectable project' if row_selectable %> row"
style="padding-left: <%= 1 + projectnode[:depth] %>em; margin-right: 0px" data-object-uuid="<%= projectnode[:object].uuid %>">
else
row_name = projectnode[:object].friendly_link_name || 'New project'
end %>
<div class="<%= 'selectable project' if row_selectable %> row"
style="padding-left: <%= 1 + projectnode[:depth] %>em; margin-right: 0px" data-object-uuid="<%= projectnode[:object].uuid %>">
<div class="modal-footer">
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Cancel</button>
<div class="modal-footer">
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Cancel</button>